nix-module-options
Installation
SKILL.md
Nix Module Options Explorer
Expert guidance for programmatically querying NixOS and Home Manager module options using flake evaluation.
Core Capability
Ready-made nix eval --impure expressions that evaluate the upstream NixOS and Home Manager option trees from your flake's locked inputs: option existence, full documentation, and category listings as JSON.
Prerequisites
- nix (with flakes) and jq
- Run from the flake root (the directory containing
flake.nix) — expressions usebuiltins.getFlake (builtins.toString ./.) - A
nixpkgsflake input (any flake); ahome-managerinput additionally for Home Manager queries - Optional: a flake-parts flake with
debug = true;set in one of its modules (Backend A — overlay-awarepkgs)
Selecting a Backend
Detect which backend your flake supports: