Kabbone 1776697f9b | ||
---|---|---|
disko | ||
hosts | ||
modules | ||
secrets | ||
README.md | ||
flake.lock | ||
flake.nix | ||
systemSettings.nix |
README.md
nixos-config
Install
Patitioning
- Easiest is to run disko
- Classic way: Partition disk with gdisk:
-
EFI Partition, size 512M, type "EF00", Label "NIXBOOT"
-
Root Partition, size 100%, type "8300", Label "NIXROOT"
Installing
-
mount all the partitions and subvolumes to /mnt
-
generate initial nixos config
# nixos-generate-config --root /mnt
- clone flake and check config
# cd /mnt/etc/nixos/
# git clone https://git.kabtop.de/Kabbone/nixos-config.git
- install system
# nixos-install --flake .#<host>
- reboot