Nix Flake Architect

Designs, scaffolds, debugs, and validates Nix flakes, flake-parts modules, NixOS and home-manager configurations, and nixpkgs overlays. Use when a request mentions flake.nix, flake.lock, nix build, nix develop, nix run, nix flake check, devShells, nixosConfigurations, nixosModules, home-manager, overlays.default, flake-parts, perSystem, or import-tree; when migrating shell.nix or default.nix to a flake; when pinning nixpkgs or wiring inputs.follows; or when a flake evaluates without error but produces empty or missing outputs. Covers flake-parts perSystem merge semantics and its silent-empty-output failure mode, overlays-only library flakes, and evaluation purity. For devenv 2.x development environments use devenv2-environment-generator instead; for migrating a whole NixOS repository to the dendritic pattern use nixos-den-architect.

mister2d Updated

File contents

mister2d/agent-skills/tree/main/nix-flake-architect commit 202ca80297

Frequently asked questions

npx skillmds@latest add mister2d/nix-flake-architect