modified: installer.nix
This commit is contained in:
+2
-2
@@ -36,7 +36,7 @@ environment.etc."git-credentials".text =
|
|||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
export FLAKE_BASE_URL="git+https://gitea.lan.ddnsgeek.com/beatzaplenty/nixos.git"
|
FLAKE_BASE_URL="git+https://gitea.lan.ddnsgeek.com/beatzaplenty/nixos.git"
|
||||||
|
|
||||||
# Menu options
|
# Menu options
|
||||||
options=("nixos" "docker" "server" "nix-cache" "nix-minimal")
|
options=("nixos" "docker" "server" "nix-cache" "nix-minimal")
|
||||||
@@ -51,7 +51,7 @@ select choice in "''${options[@]}"; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "Starting install with flake: ${FLAKE_BASE_URL}#${choice}"
|
echo "Starting install with flake: ''${FLAKE_BASE_URL}#''${choice}"
|
||||||
|
|
||||||
# Optional: confirm before proceeding
|
# Optional: confirm before proceeding
|
||||||
read -rp "Proceed with installation? (y/N): " confirm
|
read -rp "Proceed with installation? (y/N): " confirm
|
||||||
|
|||||||
Reference in New Issue
Block a user