mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-13 03:23:01 -06:00
fix another typo
This commit is contained in:
parent
4ab438ece0
commit
5d69ac345e
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ read driveName
|
||||||
|
|
||||||
## 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/disk-config.nix
|
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/partitions/luks-btrfs-subvolumes.nix -o /tmp/disko-config.nix
|
||||||
|
|
||||||
## Replace drive in Disko file
|
## Replace drive in Disko file
|
||||||
sudo sed -i "s#/dev/sda#$driveName#g" /tmp/disko-config.nix
|
sudo sed -i "s#/dev/sda#$driveName#g" /tmp/disko-config.nix
|
||||||
|
@ -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
|
# Step 2: Partitioning the drive used for the installation
|
||||||
|
|
||||||
## Run Disko to partition the disk
|
## Run Disko to partition the disk
|
||||||
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode destroy,format,mount /tmp/disk-config.nix
|
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode destroy,format,mount /tmp/disko-config.nix
|
||||||
|
|
||||||
## Generate Nix configuration
|
## Generate Nix configuration
|
||||||
sudo nixos-generate-config --no-filesystems --root /mnt
|
sudo nixos-generate-config --no-filesystems --root /mnt
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue