about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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;
+    };
+  };
+}