nix/misc/documentation.nix

24 lines
488 B
Nix
Raw Normal View History

2024-07-04 01:14:24 +02:00
{ 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; [
2024-07-04 01:25:55 +02:00
man
2024-07-04 01:14:24 +02:00
man-pages
man-pages-posix
];
}