Enable man pages for linux

good for coding
This commit is contained in:
GHOSCHT 2024-01-07 15:40:18 +01:00
parent 26bf0c8618
commit 568f5dfbc3
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82
2 changed files with 10 additions and 0 deletions

View file

@ -14,6 +14,7 @@
./nix.nix
./podman.nix
./power-button.nix
./documentation.nix
]
++ (builtins.attrValues outputs.nixosModules);

View file

@ -0,0 +1,9 @@
{pkgs, ...}: {
environment.systemPackages = with pkgs; [man-pages man-pages-posix];
documentation.dev.enable = true;
documentation.man = {
# In order to enable to mandoc man-db has to be disabled.
man-db.enable = false;
mandoc.enable = true;
};
}