diff options
Diffstat (limited to 'push')
-rwxr-xr-x | push | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,6 @@ #!/usr/bin/env bash where="$1" -what="$2" +what=$(realpath "$2") nix copy --to ssh://root@$where $what -ssh root@$where $(realpath $what)/bin/switch-to-configuration switch +ssh root@$where $what/bin/switch-to-configuration switch +ssh root@$where nix-env --profile /nix/var/nix/profiles/system --set $what |