documentation.man.mandoc.manPath
NixOS option
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 stringDefault
[ "share/man" ]
Example
declared in: nixos/modules/misc/mandoc.nixView source on NixOS/nixpkgs →[ "share/man" "share/man/fr" ]