From 94175b5ea5ad04a0cee3eadb5df48598b36215c4 Mon Sep 17 00:00:00 2001 From: serenity-F Date: Thu, 12 Dec 2024 08:20:08 +1000 Subject: [PATCH] added manpage optimisations --- core/config.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/core/config.nix b/core/config.nix index a5db9e8..51a0b31 100755 --- a/core/config.nix +++ b/core/config.nix @@ -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";