What I do
Provide step‑by‑step guidance for writing or improving NixOS modules:
- •Define options with
mkOption. - •Use
mkDefault,mkMerge, and conditional sections. - •Include documentation for options.
- •Ensure composability with other modules.
- •Validate the module via MCP‑NixOS when possible.
When to use me
Use this when:
- •Creating a new NixOS module.
- •Refactoring an existing module.
- •Adding documentation and type safety.
- •Integrating the module into a flake.
Ask clarifying questions about default values, expected behavior, and test coverage.