Add 'NixOS installation'
commit
b059b24fa5
1 changed files with 18 additions and 0 deletions
18
NixOS-installation.md
Normal file
18
NixOS-installation.md
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
|
||||
|
||||
```
|
||||
< Connect to the Internet />
|
||||
|
||||
fdisk /dev/sdx
|
||||
<.../>
|
||||
|
||||
fdisk.fat -F 32 /dev/sdx1
|
||||
fatlabel /dev/sdx1 NIXBOOT
|
||||
mkswap /dev/sdx2 -L SWAP
|
||||
mkfs.ext4 /dev/sdx3 -L NIXROOT
|
||||
|
||||
mount /dev/disk/by-label/NIXROOT /mnt
|
||||
mkdir -p /mnt/boot/efi
|
||||
mount /dev/disk/by-label/NIXBOOT /mnt/boot/efi
|
||||
swapon /dev/disk/by-label/SWAP
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue