Commit graph

2 commits

Author SHA1 Message Date
Matt Sturgeon
100b968012 doc: ensure config is not used in option docs
With a few exceptions for `lib.stylix` functions.

Once these exceptions are removed, we will have solved the issue with
NixOS's documentation.nixos.includeAllModules option.

See https://github.com/nix-community/stylix/issues/98
2025-06-21 20:25:14 -07:00
Matt Sturgeon
bdf092d169 doc: use minimal module evals
We don't actually need fully blown NixOS or home-manager configurations
just to read the declared `options`.

Instead, we can directly call `lib.evalModules` to build a minimal
configuration containing only stylix modules.
2025-06-21 20:25:14 -07:00