about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-28 23:39:52 +0200
committerSoispha <soispha@vhack.eu>2023-08-28 23:39:52 +0200
commita40d083efe6c396373c248386980d2ed504bcebd (patch)
tree2461fbe3db32c87201824c47dad9b77057cc2551
parentFeat(sys/svcs/getty): Init (diff)
downloadnixos-config-a40d083efe6c396373c248386980d2ed504bcebd.tar.gz
nixos-config-a40d083efe6c396373c248386980d2ed504bcebd.zip
Feat(sys/documentation): Init
Diffstat (limited to '')
-rw-r--r--sys/default.nix3
-rw-r--r--sys/documentation/default.nix15
2 files changed, 17 insertions, 1 deletions
diff --git a/sys/default.nix b/sys/default.nix
index e263988f..afdd220f 100644
--- a/sys/default.nix
+++ b/sys/default.nix
@@ -2,6 +2,7 @@
   imports = [
     ./boot
     ./disks
+    ./documentation
     ./font
     ./hardware
     ./impermanence
@@ -12,9 +13,9 @@
     ./options
     ./polkit
     ./power
-    ./svcs
     ./secrets
     ./sound
+    ./svcs
     ./tempfiles
     ./users # the position of this item is fully arbitrary
   ];
diff --git a/sys/documentation/default.nix b/sys/documentation/default.nix
new file mode 100644
index 00000000..6e7f4912
--- /dev/null
+++ b/sys/documentation/default.nix
@@ -0,0 +1,15 @@
+{...}: {
+  documentation = {
+    nixos = {
+      # TODO: Enable this, when the build is no longer local (i.e. I've access to a remote build server) <2023-08-28>
+      includeAllModules = true;
+
+      # I don't use this, and it has a considerable build time.
+      enable = false;
+    };
+    dev = {
+      # Add man pages aimed at developers (I guess c library stuff, and the like)
+      enable = true;
+    };
+  };
+}