From 23234600b9755ec6401872ea74e14b6fccde3fa3 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 9 Apr 2022 11:19:50 -0700 Subject: install documentations (man) --- modules/system/default.nix | 9 +++++---- modules/system/documentation/default.nix | 14 ++++++++++++++ 2 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 modules/system/documentation/default.nix (limited to 'modules') 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 ]; +} -- cgit 1.4.1