new just recipe
This commit is contained in:
parent
bd6a1fa46d
commit
7197a864cc
1 changed files with 6 additions and 2 deletions
8
justfile
8
justfile
|
|
@ -14,11 +14,15 @@ build *args: check-git
|
|||
switch *args: check-git remove-hm-backup-files
|
||||
#!/usr/bin/env sh
|
||||
if [[ "$(hostname)" == "localhost" ]]; then
|
||||
nix-on-droid switch --flake .
|
||||
nix-on-droid switch --flake . {{args}}
|
||||
else
|
||||
nh os switch .
|
||||
nh os switch . {{args}}
|
||||
fi
|
||||
|
||||
[macos]
|
||||
switch *args: check-git
|
||||
nh darwin switch . -- --accept-flake-config {{args}}
|
||||
|
||||
remove-hm-backup-files:
|
||||
#!/usr/bin/env sh
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue