We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07b163f commit be6aaa0Copy full SHA for be6aaa0
packet/deploy.sh
@@ -0,0 +1,9 @@
1
+#!/usr/bin/env bash
2
+
3
+set -euxo pipefail
4
5
+TARGET="root@147.75.38.113"
6
7
+PROFILE_PATH="$(nix-build --no-out-link default.nix)"
8
+nix-copy-closure --to --use-substitutes $TARGET $PROFILE_PATH
9
+ssh $TARGET -- "nix-env --profile /nix/var/nix/profiles/system --set $PROFILE_PATH && /nix/var/nix/profiles/system/bin/switch-to-configuration switch"
0 commit comments