nix/misc/documentation.nix
2024-07-04 01:14:24 +02:00

23 lines
No EOL
480 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;
};
};
home-manager.users.krizej.home.sessionVariables = {
# c docs first
"MANSECT" = "2:3:3p:3type:1:1p:n:l:8:0:0p:5:4:9:6:7";
};
environment.systemPackages = with pkgs; [
man-pages
man-pages-posix
];
}