nixpkgs/nixos/modules/misc
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
..
assertions.nix Revert "Module-builtin assertions, disabling assertions and submodule assertions" 2020-12-18 16:44:37 +01:00
crashdump.nix kexec-tools: rename from kexectools to match the project name 2021-09-03 10:17:21 -04:00
documentation.nix nixos/mandoc: init 2021-12-31 11:17:34 +01:00
extra-arguments.nix Move systemd-lib.nix and systemd-unit-options.nix into utils 2021-11-20 17:52:29 -05:00
ids.nix nixos: add sgx group with gid 304 2021-12-05 01:37:43 +02:00
label.nix
lib.nix
locate.nix Merge pull request #146345 from SuperSandro2000/locate-pruneBindMounts 2021-11-30 21:16:25 +01:00
man-db.nix nixos/documentation: move man-db-specifics into new man-db module 2021-12-31 11:17:34 +01:00
mandoc.nix nixos/mandoc: init 2021-12-31 11:17:34 +01:00
meta.nix nixos/*: add trivial defaultText for options with simple defaults 2021-12-02 22:35:04 +01:00
nixops-autoluks.nix
nixpkgs.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
passthru.nix
version.nix treewide: set defaultText for options using simple path defaults 2021-12-09 01:12:13 +01:00