This configuration follows the dendritic pattern. Key points:
- All modules live in
parts/ - Each feature file configures both NixOS and home-manager aspects together
- Host-specific values are in top-level config options (
config.dendrix.*), notspecialArgs - Features own their persistence paths
nh os switch: build and switch to new NixOS generation (including home-manager)nh os build: build only
Use pkgs.writeShellApplication, provide all necessary runtimeInputs and move the script into its own file inside the <feature>/scripts/ dir.
- Instead of searching the web for NixOS or home-manager options, use
man configuration.nixfor NixOS andman home-configuration.nixfor the home-manager manual locally.