aboutsummaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
authorKaran Jayachandra <mail@karanjayachandra.com>2026-07-31 21:15:37 +0200
committerKaran Jayachandra <mail@karanjayachandra.com>2026-07-31 21:15:37 +0200
commitfc48270b7e8de9be41060dbd95a35ee359664424 (patch)
tree7b8b70a42b09a56112ce5cd622df1d1dfb0e9bbc /deploy.sh
parent2144d31a0455ba32a7a0b655afdef33632a8724d (diff)
Fixed the bug in the deploy script. Activate the nix packages
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy.sh b/deploy.sh
index c5ae6b6..ac2a082 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -13,7 +13,7 @@ set +a
: "${SERVER_IP:?SERVER_IP must be set in .env}"
-nixos-rebuild switch --flake .#eurovm \
+nix shell nixpkgs#nixos-rebuild -c nixos-rebuild switch --flake .#eurovm \
--target-host "admin@${SERVER_IP}" \
--build-host "admin@${SERVER_IP}" \
--elevate=sudo