summaryrefslogtreecommitdiff
path: root/nix/systems/installer
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@gmail.com>2025-09-19 17:20:46 -0700
committerPreston Pan <ret2pop@gmail.com>2025-09-19 17:20:46 -0700
commiteadddb3c872cba3edd674424fadc959bf00b721f (patch)
tree73a10decff3d3ca853caaeab31d479cc681e70f3 /nix/systems/installer
parentcabee290a934702318de9fb6a035e61d79de2dfc (diff)
commit all changes before flake update
Diffstat (limited to 'nix/systems/installer')
-rw-r--r--nix/systems/installer/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/nix/systems/installer/default.nix b/nix/systems/installer/default.nix
index 780e2ee..6b63984 100644
--- a/nix/systems/installer/default.nix
+++ b/nix/systems/installer/default.nix
@@ -65,7 +65,10 @@ if [ ! -d "$HOME/monorepo/" ]; then
cd "$HOME"
fi
-gum style --border normal --margin "1" --padding "1 2" "Choose a system to install or select `new` in order to create a new system."
+gum style --border normal --margin "1" --padding "1 2" "Enter a password for the encrypted disk. If you're not installing a profile with an encrypted disk, you can leave this blank."
+echo "$(gum input --password)" > /tmp/secret.key
+
+gum style --border normal --margin "1" --padding "1 2" "Choose a system to install or select \`new\` in order to create a new system."
SYSTEM="$(gum choose $(find "$HOME/monorepo/nix/systems" -mindepth 1 -maxdepth 1 -type d -printf "%f\n" | grep -v -E 'installer'; printf "New"))"