summaryrefslogtreecommitdiff
path: root/push
diff options
context:
space:
mode:
Diffstat (limited to 'push')
-rwxr-xr-xpush4
1 files changed, 2 insertions, 2 deletions
diff --git a/push b/push
index 8b1814e..1fe9506 100755
--- a/push
+++ b/push
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-where="$1"
-what=$(realpath "$2")
+what=$(realpath "_bild/$1")
+where="$2"
nix copy --to ssh://root@$where $what
ssh root@$where $what/bin/switch-to-configuration switch
ssh root@$where nix-env --profile /nix/var/nix/profiles/system --set $what