documentation: separated into new file

This commit is contained in:
2026-05-17 09:31:06 +02:00
parent fb53edd9e3
commit 3d63688127
4 changed files with 18 additions and 10 deletions
+17
View File
@@ -0,0 +1,17 @@
{
pkgs,
...
}:
{
documentation.man.generateCaches = true; # used for the man script
environment.pathsToLink = [ # see https://wiki.nixos.org/wiki/Documentation_Gaps#How_do_manpages_work?_Or:_environment.pathsToLink_and_buildEnv
"/share/applications"
"/share/xdg-desktop-portal"
];
environment.systemPackages = [
pkgs.manix
(pkgs.callPackage ../../modules/scripts/manix.nix {}) # fzf manix searcher
(pkgs.callPackage ../../modules/scripts/man.nix {}) # fzf man searcher
];
}
-1
View File
@@ -27,7 +27,6 @@
nixfmt-tree
treefmt
nixd
manix
deadnix
alejandra
];