ergo
This commit is contained in:
parent
8e0385b2d6
commit
5747872651
5 changed files with 153 additions and 9 deletions
2
Taskfile
2
Taskfile
|
|
@ -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'
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue