Go to file
Kabbone 8d27f5e73d
flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/be47a2bdf278c57c2d05e747a13ed31cef54a037' (2024-09-09)
  → 'github:nix-community/home-manager/6c1a461a444e6ccb3f3e42bb627b510c3a722a57' (2024-09-14)
• Updated input 'jovian-nixos':
    'github:Jovian-Experiments/Jovian-NixOS/2d050e65a71e02a1f19d1a35c086bd2e3dfb2cdb' (2024-09-06)
  → 'github:Jovian-Experiments/Jovian-NixOS/02cf60ce20b6034fc0459e5116cec7016aaff6e4' (2024-09-12)
• Updated input 'microvm':
    'github:astro/microvm.nix/caac7808d1e31f8a0fa408338cd3736947cb226d' (2024-09-06)
  → 'github:astro/microvm.nix/af604aa08ac9a4ae585beaf1a3482897a27ab67e' (2024-09-12)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/aac7c50858a21636ddfd39831ccc221cf9d59827' (2024-09-09)
  → 'github:NixOS/nixos-hardware/166dee4f88a7e3ba1b7a243edb1aca822f00680e' (2024-09-09)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/68e7dce0a6532e876980764167ad158174402c6f' (2024-09-07)
  → 'github:NixOS/nixpkgs/e65aa8301ba4f0ab8cb98f944c14aa9da07394f8' (2024-09-11)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/574d1eac1c200690e27b8eb4e24887f8df7ac27c' (2024-09-06)
  → 'github:nixos/nixpkgs/4f807e8940284ad7925ebd0a0993d2a1791acb2f' (2024-09-11)
2024-09-14 15:01:15 +02:00
disko disko: add opt 2024-07-15 21:29:57 +02:00
hosts flake update allow olm 2024-09-09 16:43:34 +02:00
modules flake update corrections 2024-09-09 12:40:27 +02:00
secrets secrets: rekey 2024-06-11 17:55:44 +02:00
flake.lock flake.lock: Update 2024-09-14 15:01:15 +02:00
flake.nix flake update 2024-08-10 06:20: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