niksos/options/common/docs.nix

25 lines
485 B
Nix

{
pkgs,
...
}: {
documentation = {
enable = true;
dev.enable = true;
doc.enable = false;
info.enable = false;
man = {
enable = true;
generateCaches = false;
man-db.enable = false;
mandoc.enable = true;
};
nixos = {
includeAllModules = true;
};
};
environment.systemPackages = with pkgs; [
man-pages
man-pages-posix
];
}