diff --git a/lib/modules/partition.nix b/lib/modules/partition.nix index 4903be2c..12df0a56 100644 --- a/lib/modules/partition.nix +++ b/lib/modules/partition.nix @@ -168,9 +168,8 @@ if [ ! -b ${diskVar} ]; then function fallback() { echo "Couldn't find the specified disk \"${diskVar}\"." - echo "Do you want to install the OS on another disk?" local answer - read answer + read -p "Do you want to install the OS on another disk? [y/n] " answer if isTruthy "$answer"; then ${diskSelector} else