Update dependencies
This commit is contained in:
parent
3212896eea
commit
bfc1702f36
4 changed files with 12 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue