Update install.sh

This commit is contained in:
Aaron Honeycutt 2023-12-29 15:33:25 +00:00
parent 34ce1bdffb
commit 818737c53a

View file

@ -31,10 +31,10 @@ swapName+=3
# Download Disko file # Download Disko file
cd /tmp cd /tmp
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/partitions/luks-btrfs-subvolumes.nix -o /tmp/disko-config.nix curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/partitions/simple-efi.nix -o /tmp/disko-config.nix
# Replace drive in Disko file # Replace drive in Disko file
sudo sed -i "s#/dev/vdb#$rootName#g" /tmp/disko-config.nix #sudo sed -i "s#/dev/vdb#$rootName#g" /tmp/disko-config.nix
# Run Disko to partition the disk # 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 -- --mode disko /tmp/disko-config.nix