diff --git a/packages/installer.nix b/packages/installer.nix index 93454a5..0feefb1 100644 --- a/packages/installer.nix +++ b/packages/installer.nix @@ -24,6 +24,10 @@ pkgs.writeShellApplication { echo "$pass1" | tr -d "\n" > /tmp/secret.key + echo "This will install the host configuration for '$nixos_host' to '$disk_path' using partition scheme '$partition_scheme'. All data on the disk will be lost." + echo "Press enter to proceed. Press Ctrl-C to cancel." + read -r + nix-shell --packages git --run "sudo nix run \ --extra-experimental-features nix-command \ --extra-experimental-features flakes \