new just recipe

This commit is contained in:
Osman Faruk Bayram 2025-09-16 10:21:21 +03:00
parent bd6a1fa46d
commit 7197a864cc

View file

@ -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