This flake uses the dendritic pattern via
Den: flake-parts + import-tree auto-discover every
.nix file under modules/, and each file declares one den.aspects.<name> covering
both the NixOS and Home Manager sides of a single concern.
Every host (NixOS or not) is an age recipient in .sops.yaml - after either install
path below, import the GPG key and register the host's age key per docs/sops.md,
then rebuild once secrets can decrypt.
- Boot a NixOS installer image. See
docs/iso-wifi.mdfor wireless bring-up inside installation ISO. - Partition and format disks to match the target host's
modules/hosts/<host>/_hardware-configuration.nix - Install:
nixos-install --flake github:faku99/nix#<host> - Reboot
- Install Nix on the existing distro
- Clone this repo.
- First run
Afterwards,
nix run home-manager -- switch --flake github:faku99/nix#<home>home-manager switch --flake .#<home>from a local clone.