From 8db3e2693e1b9c2467b684b803c8289ff2a24af3 Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Sun, 31 Aug 2025 15:13:41 +1000 Subject: [PATCH] ensure Nix builds all documentation pages --- hosts/lolcathost/default.nix | 13 +++++++++++++ hosts/myputer/default.nix | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/hosts/lolcathost/default.nix b/hosts/lolcathost/default.nix index b56b3e6..ce8b2bb 100755 --- a/hosts/lolcathost/default.nix +++ b/hosts/lolcathost/default.nix @@ -386,6 +386,19 @@ in { }; }; + documentation = { + enable = true; + doc.enable = true; # install /share/doc packages + man.enable = true; # install manpages + info.enable = true; # install GNU info + dev.enable = true; # install docs intended for developers + nixos = { + enable = true; # install NixOS documentation (ie man -k nix, & nixos-help) + options.splitBuild = true; + # includeAllModules = true; + }; + }; + virtualisation.docker.enable = true; hardware = { diff --git a/hosts/myputer/default.nix b/hosts/myputer/default.nix index 1f22c62..5e0aa83 100755 --- a/hosts/myputer/default.nix +++ b/hosts/myputer/default.nix @@ -405,6 +405,19 @@ in { }; }; + documentation = { + enable = true; + doc.enable = true; # install /share/doc packages + man.enable = true; # install manpages + info.enable = true; # install GNU info + dev.enable = true; # install docs intended for developers + nixos = { + enable = true; # install NixOS documentation (ie man -k nix, & nixos-help) + options.splitBuild = true; + # includeAllModules = true; + }; + }; + virtualisation.docker.enable = true; hardware = {