aboutsummaryrefslogtreecommitdiff
path: root/live
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@gmail.com>2025-01-09 17:21:37 -0800
committerPreston Pan <ret2pop@gmail.com>2025-01-09 17:21:37 -0800
commitace716b0e28a2e3654166bdbccbe0a2b621ba254 (patch)
treebf39edd7b9c0dfa9fe37dd810de3a1f4a05c8be7 /live
parent1de6730e5778fb238fd74b3a5f269d47bfb60487 (diff)
fix script again
Diffstat (limited to 'live')
-rw-r--r--live/iso.nix8
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"
'')
];
};