summaryrefslogtreecommitdiff
path: root/push
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-11-23 17:15:42 -0800
committerBen Sima <ben@bsima.me>2019-11-23 17:15:42 -0800
commit68f18f21758200efefe36b8a98853660e6e8b940 (patch)
tree5e4e6b85b767118d54c6dccad0dbb7ddcf7cd506 /push
parentd0683537c8231bcfa1efaeb863b76dcd3949d21b (diff)
Put outputs in _bild path
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