Go to file
Kabbone daee0533d5
flake.lock: Update
Flake lock file updates:

• Updated input 'jovian-nixos':
    'github:Jovian-Experiments/Jovian-NixOS/d723a7e3962d683acdcd5658b351fdefe16bf04f' (2024-06-18)
  → 'github:Jovian-Experiments/Jovian-NixOS/a7a9774538612c75324f785ab1300e67abc039d3' (2024-06-21)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/083823b7904e43a4fc1c7229781417e875359a42' (2024-06-20)
  → 'github:NixOS/nixos-hardware/cc634b69c8312c4e88469d3c7e8fb5ecc72e7dc6' (2024-06-21)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/938aa157bbd6e3c6fd7dcb77998b1f92c2ad1631' (2024-06-18)
  → 'github:NixOS/nixpkgs/dd457de7e08c6d06789b1f5b88fc9327f4d96309' (2024-06-19)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/c00d587b1a1afbf200b1d8f0b0e4ba9deb1c7f0e' (2024-06-18)
  → 'github:nixos/nixpkgs/d603719ec6e294f034936c0d0dc06f689d91b6c3' (2024-06-20)
2024-06-21 20:43:44 +02:00
disko hosts: kabtopci: fix path and add mount script 2024-06-11 17:14:24 +02:00
hosts hosts: add hydra cache to all 2024-06-17 20:47:42 +02:00
modules hydra: change hydraCache URL 2024-06-11 19:54:49 +02:00
secrets secrets: rekey 2024-06-11 17:55:44 +02:00
flake.lock flake.lock: Update 2024-06-21 20:43:44 +02:00
flake.nix flake: add hydraJobs 2024-06-17 20:31:44 +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