fix disko

This commit is contained in:
Aaron Honeycutt 2025-02-17 20:28:22 +00:00
parent b5c015aba0
commit 4d006c7b22

View file

@ -23,7 +23,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 -- --mode disko /tmp/disko-config.nix
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode destroy,format,mount /tmp/disk-config.nix
## Generate Nix configuration
sudo nixos-generate-config --no-filesystems --root /mnt