nichts/modules/system/nix/documentation.nix

29 lines
912 B
Nix
Raw Normal View History

2024-07-23 00:00:26 +02:00
{
# faster rebuilding
documentation = {
# whether to enable the `doc` output of packages
# generally in ${pkg}/share/ as plaintext or html
# # can shave off a few megabytes
2024-07-24 17:47:16 +02:00
doc.enable = false;
# whether to install the `info` command and the `info`
# output of packages
info.enable = false;
man = {
# Whether to install manual pages
# this means packages that provide a `man` output will have said output
# included in the final closure
enable = true;
# Whether to generate the manual page index caches
# if true, it becomes possible to search for a page or keyword
# using utilities like apropos(1) and the -k option of man(1).
generateCaches = false;
2024-07-24 17:47:16 +02:00
# Whether to enable mandoc as the default man page viewer.
mandoc.enable = false; # my default manpage viewer is Neovim, so this isn't necessary
};
2024-07-23 00:00:26 +02:00
};
}