Update dependencies

This commit is contained in:
Charlotte Van Petegem 2021-04-16 10:45:04 +02:00
parent 3212896eea
commit bfc1702f36
No known key found for this signature in database
GPG key ID: 019E764B7184435A
4 changed files with 12 additions and 17 deletions

View file

@ -2,7 +2,4 @@
set -euo pipefail
set -x
drv=$(nix eval .#nixosConfigurations.$1.config.system.build.toplevel.drvPath | tr -d '"')
nix copy --derivation -s --to "ssh://root@$1" "$drv"
ssh root@$1 nix build -L --no-link "$drv"
nixos-rebuild --flake .#$1 --target-host root@$1 $2