added manpage optimisations

This commit is contained in:
serenity-F 2024-12-12 08:20:08 +10:00
parent 5d2b068748
commit 94175b5ea5

View file

@ -1,4 +1,4 @@
{ inputs, lib, ... }:
{ inputs, lib, pkgs, ... }:
{
@ -84,6 +84,14 @@
};
environment.systemPackages = with pkgs; [ man-pages ];
documentation = {
dev.enable = true;
man.generateCaches = true;
nixos.includeAllModules = true;
};
## Apparently prevents getting stuck at shutdown
systemd.extraConfig = "DefaultTimeoutStopSec=10s";