From 8a7f929386e51d56cbba96b5a6a1c391ba30de2c Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Wed, 27 Nov 2024 17:44:54 +0100 Subject: [PATCH] system/services: add mandocs and mandb --- hosts/solaire/default.nix | 2 +- system/services/documentation.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 system/services/documentation.nix diff --git a/hosts/solaire/default.nix b/hosts/solaire/default.nix index b9787be..7081dfe 100644 --- a/hosts/solaire/default.nix +++ b/hosts/solaire/default.nix @@ -17,7 +17,7 @@ in { "${system}/programs/games.nix" "${system}/hardware/nvidia.nix" - "${system}/services/syncthing.nix" + "${system}/services/documentation.nix" ]; home-manager = { diff --git a/system/services/documentation.nix b/system/services/documentation.nix new file mode 100644 index 0000000..0919470 --- /dev/null +++ b/system/services/documentation.nix @@ -0,0 +1,12 @@ +_: { + documentation = { + enable = true; + + man = { + enable = true; + man-db.enable = false; + mandoc.enable = true; + generateCaches = true; + }; + }; +}