diff options
author | Preston Pan <ret2pop@gmail.com> | 2025-01-09 17:21:37 -0800 |
---|---|---|
committer | Preston Pan <ret2pop@gmail.com> | 2025-01-09 17:21:37 -0800 |
commit | ace716b0e28a2e3654166bdbccbe0a2b621ba254 (patch) | |
tree | bf39edd7b9c0dfa9fe37dd810de3a1f4a05c8be7 /live/iso.nix | |
parent | 1de6730e5778fb238fd74b3a5f269d47bfb60487 (diff) |
fix script again
Diffstat (limited to 'live/iso.nix')
-rw-r--r-- | live/iso.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/live/iso.nix b/live/iso.nix index 2a3bed7..ad6484c 100644 --- a/live/iso.nix +++ b/live/iso.nix @@ -138,12 +138,10 @@ if [ ! -d "$HOME/toughnix/" ]; then fi vim "$HOME/toughnix/desktop/vars.nix" -DISK="$(gum --placeholder "Disk (ex: /dev/sda)")" +DISK="$(gum input --placeholder "Disk (ex: /dev/sda)")" -gum confirm --default=false \ - "🔥 🔥 🔥 WARNING!!!! This will ERASE ALL DATA on the disk $DISK. Are you sure you want to continue?" -sudo nix run 'github:nix-community/disko/latest#disko-install' -- --write-efi-boot-entries --flake - './toughnix#continuity-dell' --disk main "$DISK" +gum confirm --default=false "🔥 🔥 🔥 WARNING!!!! This will ERASE ALL DATA on the disk $DISK. Are you sure you want to continue?" +sudo nix run 'github:nix-community/disko/latest#disko-install' -- --write-efi-boot-entries --flake './toughnix#continuity-dell' --disk main "$DISK" '') ]; }; |