ps2live: update

This commit is contained in:
41666 2025-04-01 22:41:48 -07:00
parent 6f8871fcc1
commit 3efe26c5bf
5 changed files with 60 additions and 317 deletions

View file

@ -80,7 +80,7 @@ deploy target_host extra_flags="":
deploy2 target_host extra_flags="":
@test -f nixos/hosts/{{target_host}}/.target || { echo "Host cannot be deployed, add a .target file with SSH destination"; exit 1; }
nixos-rebuild switch {{extra_flags}} --target-host root@`cat nixos/hosts/{{target_host}}/.target` `cat nixos/hosts/{{target_host}}/.flags 2>/dev/null || echo ''` --accept-flake-config --flake .#{{target_host}}
nixos-rebuild switch {{extra_flags}} --target-host root@`cat nixos/hosts/{{target_host}}/.target` `cat nixos/hosts/{{target_host}}/.flags 2>/dev/null || echo ''` --accept-flake-config --verbose --flake .#{{target_host}}
#
ssh target_host *args='':