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
451de45b43
commit
a41e7a7824
1 changed files with 0 additions and 3 deletions
|
@ -14,7 +14,6 @@ read driveName
|
|||
|
||||
# Download Disko file
|
||||
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/luks-btrfs-subvolumes.nix -o /tmp/disko-config.nix
|
||||
|
||||
# Replace drive in Disko file
|
||||
|
@ -24,8 +23,6 @@ sudo sed -i "s#/dev/sda#$driveName#g" /tmp/disko-config.nix
|
|||
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko -- --mode disko /tmp/disko-config.nix
|
||||
|
||||
# Generate Nix configuration
|
||||
#sudo nixos-generate-config --root /mnt
|
||||
|
||||
sudo nixos-generate-config --no-filesystems --root /mnt
|
||||
sudo mv /tmp/disko-config.nix /mnt/etc/nixos
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue