nixpkgs/nixos/modules/services
Vladimír Čunát e0feace5cd nixos docs: allow displaying package references
This is an improved version of original #12357.
For the purpose of generating docs, evaluate options with each derivation
in `pkgs` (recursively) replaced by a fake with path "\${pkgs.attribute.path}".
It isn't perfect, but it seems to cover a vast majority of use cases.
Caveat: even if the package is reached by a different means,
the path above will be shown and not e.g. `${config.services.foo.package}`.

As before, defaults created by `mkDefault` aren't displayed,
but documentation shouldn't (mostly) be a reason to use that anymore.

Note: t wouldn't be enough to just use `lib.mapAttrsRecursive`,
because derivations are also (special) attribute sets.
2016-02-03 14:47:14 +01:00
..
amqp Revert "Merge #12357: nixos docs: show references to packages" 2016-02-03 12:16:33 +01:00
audio Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
backup Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
cluster Fix fleet certfile argument, fixes #11794 2015-12-22 01:24:47 +01:00
computing slurm service: improve config 2015-12-25 15:54:35 +01:00
continuous-integration/jenkins Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
databases Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
desktops nixos: gnome-keyring: fix module description 2015-07-01 02:22:27 +02:00
games jobs -> systemd.services 2016-01-07 06:39:06 +00:00
hardware Rewrite acpid module in a more generic way 2016-01-21 20:08:14 +01:00
logging Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
mail Merge pull request #12290 from abbradar/dovecot-updates 2016-01-23 12:02:23 +03:00
misc nixos docs: allow displaying package references 2016-02-03 14:47:14 +01:00
monitoring Revert "Merge #12357: nixos docs: show references to packages" 2016-02-03 12:16:33 +01:00
network-filesystems Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
networking Revert "Merge #12357: nixos docs: show references to packages" 2016-02-03 12:16:33 +01:00
printing nixos cups-browsed: better link to avahi-daemon 2015-12-21 18:20:52 +01:00
scheduling jobs -> systemd.services 2016-01-07 06:39:06 +00:00
search elasticsearch: Fix some startup warnings 2016-01-18 15:57:59 +01:00
security jobs -> systemd.services 2016-01-07 06:39:06 +00:00
system nixos: uptimed - rewrite and harden a bit (#7220) 2016-01-23 19:28:01 +00:00
torrent nixos.transmission: fix apparmor profile 2015-12-10 19:00:08 +01:00
ttys Merge pull request #10996 from oxij/nixos-label 2016-01-09 20:52:08 +03:00
web-apps pump.io service: init 2015-12-06 13:35:21 +00:00
web-servers Revert "Merge #12357: nixos docs: show references to packages" 2016-02-03 12:16:33 +01:00
x11 Revert "Merge #12357: nixos docs: show references to packages" 2016-02-03 12:16:33 +01:00