Enable man pages for linux
good for coding
This commit is contained in:
parent
26bf0c8618
commit
568f5dfbc3
2 changed files with 10 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
||||||
./nix.nix
|
./nix.nix
|
||||||
./podman.nix
|
./podman.nix
|
||||||
./power-button.nix
|
./power-button.nix
|
||||||
|
./documentation.nix
|
||||||
]
|
]
|
||||||
++ (builtins.attrValues outputs.nixosModules);
|
++ (builtins.attrValues outputs.nixosModules);
|
||||||
|
|
||||||
|
|
9
hosts/common/global/documentation.nix
Normal file
9
hosts/common/global/documentation.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue