update disko command to avoid the prompt

This commit is contained in:
Aaron Honeycutt 2025-02-18 16:53:46 +00:00
parent 014711310c
commit 77f1f7b88e

View file

@ -22,7 +22,7 @@ sudo sed -i "s#/dev/sda#$driveName#g" /tmp/disko-config.nix
# Step 2: Partitioning the drive used for the installation
## Run Disko to partition the disk
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode destroy,format,mount /tmp/disko-config.nix
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode destroy,format,mount /tmp/disko-config.nix --yes-wipe-all-disks
## Generate Nix configuration
sudo nixos-generate-config --no-filesystems --root /mnt