Go to file
2024-05-26 09:07:19 +02:00
disko server: tweak postgresql to more caching 2024-02-12 12:34:15 +01:00
hosts services: add hydra cache and allowed uri 2024-05-25 13:58:24 +02:00
modules services: hydra: typo in nix.conf 2024-05-26 09:07:19 +02:00
secrets secrets: rekey 2024-05-25 11:58:38 +02:00
flake.lock flake update 2024-05-25 11:00:55 +02:00
flake.nix flake restructure 2024-05-25 11:00:23 +02: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