nixpkgs/nixos/modules
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
..
config Merge pull request #11737 from MatrixAI/master 2016-01-30 23:14:44 +01:00
hardware wis_go7007: remove dead package & module 2016-01-11 00:16:01 +01:00
installer nixos-rebuild: Don't propagate --no-out-link arg to nix-store 2016-02-01 10:54:58 +01:00
misc nixos: update-locatedb - harden via systemd (#7220) 2016-01-23 20:44:30 +00:00
profiles wpa_supplicant service: jobs -> systemd.services 2016-01-06 03:58:39 +00:00
programs Revert "Merge #12357: nixos docs: show references to packages" 2016-02-03 12:16:33 +01:00
security Fix some references to deprecated /etc/ssl/certs/ca-bundle.crt 2016-01-29 02:32:05 +01:00
services nixos docs: allow displaying package references 2016-02-03 14:47:14 +01:00
system boot.initrd.network: Support DHCP 2016-02-02 19:59:27 +01:00
tasks Don't include wireless-tools/iw/rfkill when wireless is disabled 2016-02-01 18:19:23 +01:00
testing NixOS tests: Increase hung_task_timeout_secs 2016-01-04 16:53:42 +01:00
virtualisation Revert "Do not relocate /nix and /tmp to small disks on AWS" 2016-02-02 19:59:28 +01:00
module-list.nix Split the initrd sshd support into a separate module 2016-02-02 19:59:27 +01:00
rename.nix nixos: Document "jobs" option removal 2016-01-14 13:08:56 +01:00