nixpkgs-suyu/nixos/modules
Arian van Putten 2e75a7b516 nixos: doc: optionally include all modules in manual generation
Before this change `man 5 configuration.nix` would only show options of modules in
the `baseModules` set, which consists only of the list of modules in
`nixos/modules/module-list.nix`

With this change applied and `documentation.nixos.includeAllModules` option enabled
all modules included in `configuration.nix` file will be used instead.

This makes configurations with custom modules self-documenting. It also means
that importing non-`baseModules` modules like `gce.nix` or `azure.nix`
will make their documentation available in `man 5 configuration.nix`.

`documentation.nixos.includeAllModules` is currently set to `false` by
default as enabling it usually uncovers bugs and prevents evaluation.
It should be set to `true` in a release or two.

This was originally implemented in #47177, edited for more configurability,
documented and rebased onto master by @oxij.
2019-03-05 09:41:40 +00:00
..
config nixos/no-x-libs.nix: override pinentry directly 2019-02-27 23:53:50 -05:00
hardware nixos/docker: add enableNvidia option 2019-02-27 09:56:03 +01:00
i18n/input-method docs: format 2018-09-29 20:51:11 -04:00
installer Merge pull request #56115 from matthewbauer/nixos-rebuild-upgrade-nix 2019-03-02 18:48:28 -05:00
misc nixos: doc: optionally include all modules in manual generation 2019-03-05 09:41:40 +00:00
profiles profiles/graphical.nix: Enable pulseaudio for virtualbox appliances 2019-02-22 07:23:59 +01:00
programs nixos/fish: generate autocompletions from man pages 2019-02-27 12:23:48 +01:00
security Merge pull request #55792 from sdier/fix/pam-update 2019-02-25 01:38:51 +01:00
services Merge pull request #56550 from Infinisil/doc/xrandr/monitorConfig 2019-03-04 22:08:15 +01:00
system Revert "Merge pull request #54980 from danbst/etc-relative" (#56507) 2019-02-28 07:48:40 +02:00
tasks nixos: add preferLocalBuild=true; on derivations for config files 2019-02-22 20:11:27 +01:00
testing types.optionSet: deprecate and remove last usages 2019-01-31 00:41:10 +02:00
virtualisation nixos/docker: add enableNvidia option 2019-02-27 09:56:03 +01:00
module-list.nix Merge pull request #53463 from OlivierMarty/master 2019-03-04 01:22:29 +01:00
rename.nix nixos/kubernetes: major module refactor 2019-02-20 21:08:01 +01:00