about summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-09 11:19:50 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-09 11:19:50 -0700
commit23234600b9755ec6401872ea74e14b6fccde3fa3 (patch)
tree18241084c094866b3074ab546c4967093ef0839f /home
parentadd pcmanfm and easyeffects (diff)
downloadworld-23234600b9755ec6401872ea74e14b6fccde3fa3.tar.gz
install documentations (man)
Diffstat (limited to 'home')
-rw-r--r--home/default.nix1
-rw-r--r--home/documentation/default.nix9
2 files changed, 10 insertions, 0 deletions
diff --git a/home/default.nix b/home/default.nix
index ce3139e..42ea925 100644
--- a/home/default.nix
+++ b/home/default.nix
@@ -3,6 +3,7 @@
 {
   imports = [
     ./beets
+    ./documentation
     ./element
     ./emacs
     ./feh
diff --git a/home/documentation/default.nix b/home/documentation/default.nix
new file mode 100644
index 0000000..047239e
--- /dev/null
+++ b/home/documentation/default.nix
@@ -0,0 +1,9 @@
+{ config, lib, ... }: {
+  # Add documentation for user packages
+  config.programs.man = {
+    enable = true;
+    generateCaches = true; # Enables the use of `apropos` etc...
+  };
+
+  config.programs.info.enable = true;
+}