This commit is contained in:
Robert Perce 2026-02-09 22:15:08 -06:00
parent 8e0385b2d6
commit 5747872651
5 changed files with 153 additions and 9 deletions

View file

@ -34,7 +34,7 @@ get-ip() {
deploy() {
ip=$(get-ip "$1")
nix-shell -p '(nixos{}).nixos-rebuild' --run \
TMPDIR=/tmp nix-shell -p '(nixos{}).nixos-rebuild' --run \
'nixos-rebuild switch --flake .#'"$1"' --target-host admin@"'"$ip"'" --use-remote-sudo'
}