mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 11:04:02 -06:00
Update install.sh
This commit is contained in:
parent
045469eec0
commit
9192cd819c
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ cd /tmp
|
||||||
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/disko/partitions/simple-efi.nix -o /tmp/disko-config.nix
|
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/disko/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/sda#$driveName#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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue