From a444fae996bc50375c150bb70a9d8ca27b7ee061 Mon Sep 17 00:00:00 2001 From: eyjhb Date: Thu, 8 Aug 2024 18:59:58 +0200 Subject: [PATCH] deploy: added exit before being able to initial deploy a host --- deploy.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deploy.sh b/deploy.sh index 37f128c..a585294 100755 --- a/deploy.sh +++ b/deploy.sh @@ -10,6 +10,8 @@ export NIX_PATH="nixpkgs=$NIXPKGS" if [ "$1" == "initial-deploy" ]; then echo "Initial deployment..." + echo "Removed exit below if you really want... " + exit NIX_TOP_LEVEL_PATH=$(nix build --impure -I nixos-config=./machines/gerd.nix --json --expr "(import {}).config.system.build.toplevel" | jq -r '.[].outputs.out') NIX_DISKO_SCRIPT=$(nix build --impure -I nixos-config=./machines/gerd.nix --json --expr "(import {}).config.system.build.diskoScript" | jq -r '.[].outputs.out')