diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-09 11:19:50 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-09 11:19:50 -0700 |
commit | 23234600b9755ec6401872ea74e14b6fccde3fa3 (patch) | |
tree | 18241084c094866b3074ab546c4967093ef0839f /modules/system | |
parent | add pcmanfm and easyeffects (diff) | |
download | world-23234600b9755ec6401872ea74e14b6fccde3fa3.tar.gz |
install documentations (man)
Diffstat (limited to '')
-rw-r--r-- | modules/system/default.nix | 9 | ||||
-rw-r--r-- | modules/system/documentation/default.nix | 14 |
2 files changed, 19 insertions, 4 deletions
diff --git a/modules/system/default.nix b/modules/system/default.nix index 32f560b..bf3e367 100644 --- a/modules/system/default.nix +++ b/modules/system/default.nix @@ -2,14 +2,15 @@ { imports = [ - ./packages ./boot + ./btrfs ./console + ./documentation + ./fonts ./locale ./nix - ./users + ./packages ./security - ./btrfs - ./fonts + ./users ]; } diff --git a/modules/system/documentation/default.nix b/modules/system/documentation/default.nix new file mode 100644 index 0000000..67f84ff --- /dev/null +++ b/modules/system/documentation/default.nix @@ -0,0 +1,14 @@ +{ config, lib, pkgs, ... }: { + documentation = { + enable = true; + dev.enable = true; + info.enable = true; + man = { + enable = true; + generateCaches = true; + }; + nixos.enable = true; + }; + + environment.systemPackages = with pkgs; [ man-pages man-pages-posix ]; +} |