disko: README fixup
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
##Step by step##
|
||||
## Step by step
|
||||
1. Boot the [installer](https://nixos.org/download.html#nixos-iso)
|
||||
|
||||
2. Get disk name
|
||||
```$ lsblk```
|
||||
```
|
||||
$ lsblk
|
||||
```
|
||||
|
||||
3. Get disko config
|
||||
```
|
||||
@@ -17,11 +19,19 @@ $ sudo nix --experimental-features "nix-command flakes" run github:nix-community
|
||||
```
|
||||
|
||||
6. Check if it got mounted
|
||||
```$ mount | grep /mnt```
|
||||
```
|
||||
$ mount | grep /mnt
|
||||
```
|
||||
|
||||
7. Continue with NixOS installation
|
||||
Filesystem definitions come from disko, hence "--no-filesystems"
|
||||
`Alternative:` continue with normal hardware-config
|
||||
```
|
||||
$ nixos-generate-config --no-filesystems --root /mnt
|
||||
$ mv /tmp/disko-config.nix /mnt/etc/nixos
|
||||
```
|
||||
|
||||
`Alternative:` continue with normal hardware-config
|
||||
```
|
||||
$ nixos-generate-config --root /mnt
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user