Go to file
2023-12-20 11:46:24 +01:00
disko disko: README fixup 2023-12-20 11:45:24 +01:00
hosts hosts: rearrange order in hosts 2023-12-19 16:05:48 +01:00
modules hosts: desktop: disable mdns and set new monitor setup 2023-12-03 09:00:00 +01:00
secrets secrets: rekey 2023-12-09 17:12:25 +01:00
flake.lock flake update 2023-12-19 16:05:53 +01:00
flake.nix hosts: steamdeck: switch to unstable 2023-12-16 11:58:44 +01:00
README.md disko: README fixup 2023-12-20 11:46:24 +01:00

nixos-config

Install

Patitioning

  • Easiest is to run disko
  • 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

  1. mount all the partitions and subvolumes to /mnt

  2. generate initial nixos config

# nixos-generate-config --root /mnt
  1. clone flake and check config
# cd /mnt/etc/nixos/
# git clone https://git.kabtop.de/Kabbone/nixos-config.git
  1. install system
# nixos-install --flake .#<host>
  1. reboot