disable home-manager manpages on nixdesk, enable system-wide man cache generation at runtime

This commit is contained in:
xunuwu 2026-03-29 21:40:13 +02:00
parent 843054828b
commit 316df487ef
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
2 changed files with 4 additions and 2 deletions

View file

@ -1,7 +1,9 @@
{pkgs, ...}: {
documentation = {
dev.enable = true;
man.generateCaches = false; # this does slow down builds by quite a lot
man.cache.enable = true;
man.cache.generateAtRuntime = true;
};
environment.systemPackages = with pkgs; [
# linux-manual