Add raspi-test to the remote update script

This commit is contained in:
Andreas Zweili 2022-06-27 17:39:13 +02:00
parent 09ed1adf31
commit 1c9908f40e
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ hosts=(
"nextcloud"
"pihole"
"plex"
#"proxy"
"raspi-test"
"restic-server"
"ttrss"
)
@ -19,7 +19,7 @@ for host in "${hosts[@]}"
do
fqdn="$host.2li.local"
echo $fqdn
nixos-rebuild switch --use-remote-sudo --build-host localhost --target-host $fqdn --flake ".#$host"
nixos-rebuild switch -j auto --use-remote-sudo --build-host localhost --target-host $fqdn --flake ".#$host"
if [ $host == "nixos-management" ]; then
continue
fi