From d16b20ed6ad3699792f519c7c2370a2930081878 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 16 Aug 2023 12:44:41 +0200 Subject: nixos: expand documentation included in the system --- nixos/modules/desktop.nix | 8 +++++++- nixos/modules/develop.nix | 5 ++++- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'nixos/modules') diff --git a/nixos/modules/desktop.nix b/nixos/modules/desktop.nix index ff2a541..d5e8b80 100644 --- a/nixos/modules/desktop.nix +++ b/nixos/modules/desktop.nix @@ -247,7 +247,13 @@ in { package = pkgs.openrgb-with-all-plugins; }; - documentation.man.man-db.enable = true; + documentation = { + man = { + enable = true; + generateCaches = true; + }; + info.enable = true; + }; services.snapper.configs = { home = { diff --git a/nixos/modules/develop.nix b/nixos/modules/develop.nix index fa4034d..ad5acc1 100644 --- a/nixos/modules/develop.nix +++ b/nixos/modules/develop.nix @@ -124,7 +124,10 @@ with lib; { ]; programs.wireshark.enable = true; - documentation.dev.enable = true; + documentation = { + dev.enable = true; + doc.enable = true; + }; services.udev.extraRules = '' SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3748", MODE:="0660", GROUP="develop", SYMLINK+="stlinkv2_%n" -- cgit v1.2.3