programs.man.enable
Whether to enable manual pages and the man
command. This also includes “man” outputs of all
home.packages.
Type: boolean
Default:
true
Declared by:
programs.man.package
The man package to use.
Type: null or package
Default:
if pkgs.stdenv.isDarwin && lib.versionAtLeast config.home.stateVersion "26.05" then
null
else if cfg.man-db.enable then
pkgs.man
else if cfg.mandoc.enable then
pkgs.mandoc
else
null;
Declared by:
programs.man.generateCaches
Whether to generate the manual page index caches using
mandb(8). This allows searching for a page or
keyword using utilities like apropos(1).
This feature is disabled by default because it slows down building. If you don’t mind waiting a few more seconds when Home Manager builds a new generation, you may safely enable this option.
Type: boolean
Default:
false
Declared by:
programs.man.man-db.enable
Whether to enable man-db as the man page viewer.
Type: boolean
Default:
true
Example:
true
Declared by:
programs.man.man-db.extraConfig
Additional fields to be added to the end of the user manpath config file.
Type: strings concatenated with “\n”
Default:
""
Example:
''
MANDATORY_MANPATH /usr/man
SECTION 1 n l 8 3 0 2 3type 5 4 9 6 7
''
Declared by:
programs.man.mandoc.enable
Whether to enable mandoc as the man page viewer.
Type: boolean
Default:
false
Example:
true
Declared by: