documentation.man.mandoc.manPath

Change the paths included in the MANPATH environment variable, i. e. the directories where man(1) looks for section-specific directories of man pages. You only need to change this setting if you want extra man pages (e. g. in non-english languages). All values must be strings that are a valid path from the target prefix (without including it). The first value given takes priority. Note that this will not add manpath directives to man.conf(5).

Type
list of string
Default
[
  "share/man"
]
Example
[ "share/man" "share/man/fr" ]
Declared
<nixpkgs/nixos/modules/misc/mandoc.nix>