home: add documentation
By default, packages installed by home-manager do not have their documentation added to man pages and the info database
This commit is contained in:
parent
bf2671a162
commit
631292faf2
|
@ -2,6 +2,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./direnv.nix
|
./direnv.nix
|
||||||
|
./documentation.nix
|
||||||
./git
|
./git
|
||||||
./zsh
|
./zsh
|
||||||
];
|
];
|
||||||
|
|
9
home/documentation.nix
Normal file
9
home/documentation.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
# Add documentation for user packages
|
||||||
|
programs.man = {
|
||||||
|
enable = true;
|
||||||
|
generateCaches = true; # Enables the use of `apropos` etc...
|
||||||
|
};
|
||||||
|
programs.info.enable = true;
|
||||||
|
}
|
Loading…
Reference in a new issue