nixos-host-provisioning
Installation
SKILL.md
Adding a NixOS host (blueprint + disko + facter)
A host is a directory hosts/<name>/ with these entries (users/ only when the host has home-manager users; disko/facter only on bare metal). Reference implementations: the framework/sirius hosts in aldoborrero/nix-system. → Blueprint's host discovery rules and precedence: nix-blueprint skill.
hosts/<name>/
default.nix # escape hatch: nixosSystem call wiring input modules
configuration.nix # the host itself: imports shared modules + hardware quirks
disko.nix # declarative partitioning
facter.json # hardware report (replaces hardware-configuration.nix)
users/<user>.nix # home-manager config for the user on this host
default.nix — the escape hatch, and what it costs
Needed whenever the host imports modules from flake inputs (disko, facter, nixos-hardware, sops-nix have nowhere else to be imported):