finish the update script

This commit is contained in:
Andreas Zweili 2022-01-16 18:20:16 +01:00
parent 9c2b466590
commit 68ccc39f51
1 changed files with 1 additions and 1 deletions

View File

@ -10,6 +10,6 @@ for host in hosts:
fqdn = "{}.2li.local".format(host)
print(fqdn)
print("-" * len(fqdn))
ssh @(fqdn) 'cd .nixos && git pull && rebuild'
ssh @(fqdn) 'cd .nixos && git pull && sudo nixos-rebuild -j auto switch'
print("")
print("")