disko: README fixup

This commit is contained in:
2023-12-20 11:43:17 +01:00
parent 616b1154a4
commit ab8c079ef5
2 changed files with 25 additions and 11 deletions

View File

@@ -1,22 +1,24 @@
# nixos-config #
# nixos-config
## Install ##
## Install
### Patitioning ###
### Patitioning
- Easiest is to run [disko](https://git.kabtop.de/Kabbone/nixos-config/raw/branch/main/disko/README.md)
- `Classic way:`
- **Classic way:**
Partition disk with gdisk:
1. EFI Partition, size 512M, type "EF00", Label "NIXBOOT"
2. Root Partition, size 100%, type "8300", Label "NIXROOT"
### Installing ###
### Installing
1. mount all the partitions and subvolumes to /mnt
2. generate initial nixos config
```# nixos-generate-config --root /mnt```
```
# nixos-generate-config --root /mnt
```
3. clone flake and check config
```
@@ -25,6 +27,8 @@ Partition disk with gdisk:
```
4. install system
```# nixos-install --flake .#<host>```
```
# nixos-install --flake .#<host>
```
5. reboot