nixpkgs/nixos/modules
sternenseemann f4f7238860 nixos/mandoc: init
Adds a NixOS module which allows using mandoc as the main manual
viewer. It can be used as a drop-in replacement for documentation.man
which relies on GNU's man-db and provides more or less the same
features.

The generateCaches option requires a different implementation for
mandoc, so it is hard to share code between the two modules -- hence it
has been implemented separately. Using both at the same time makes
little sense and wouldn't quite work, so there's an assertion to
prevent it.

To make makewhatis(8) index manual pages which are symlinks to the nix
store, we need to set READ_ALLOWED_PATH to include
`builtins.storeDir`. For background and discussion see:
https://inbox.vuxu.org/mandoc-tech/c9932669-e9d4-1454-8708-7c8e36967e8e@systemli.org/T/
2021-12-31 11:17:34 +01:00
..
config Merge pull request #148785 from pennae/more-option-doc-staticizing 2021-12-17 11:14:08 -05:00
hardware Merge pull request #148785 from pennae/more-option-doc-staticizing 2021-12-17 11:14:08 -05:00
i18n/input-method nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
installer nixos/installer: Quote variable references 2021-11-26 18:58:08 +13:00
misc nixos/mandoc: init 2021-12-31 11:17:34 +01:00
profiles Merge pull request #146288 from Artturin/mtoolsandsuch 2021-11-19 00:21:08 +02:00
programs qt5ct: move to qt5-packages 2021-12-27 11:03:07 -03:00
security nixos/acme: Add test for lego's built-in web server 2021-12-26 16:49:59 +00:00
services Revert "nixos/dhcpd: switch to DynamicUser" 2021-12-30 14:22:08 +01:00
system Merge pull request #151156 from Artturin/fsckonbat 2021-12-27 04:18:40 +02:00
tasks Merge pull request #148785 from pennae/more-option-doc-staticizing 2021-12-17 11:14:08 -05:00
testing nixos/lib/qemu-flags: rename to qemu-common 2021-09-18 16:58:16 +02:00
virtualisation Merge pull request #150774 from abbradar/docker-rootless 2021-12-27 20:32:57 +03:00
module-list.nix nixos/documentation: move man-db-specifics into new man-db module 2021-12-31 11:17:34 +01:00
rename.nix Merge pull request #140820 from VergeDX/kippo-remove 2021-10-11 17:19:11 +08:00