aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2023-08-16 12:44:41 +0200
committerKarel Kočí <cynerd@email.cz>2023-08-16 12:44:41 +0200
commitd16b20ed6ad3699792f519c7c2370a2930081878 (patch)
tree500ff2483479c17377c8190db80a87109d4079cf
parent774d34d50bf3908dd1f209dbbd0de2093d5f5a08 (diff)
downloadnixos-personal-d16b20ed6ad3699792f519c7c2370a2930081878.tar.gz
nixos-personal-d16b20ed6ad3699792f519c7c2370a2930081878.tar.bz2
nixos-personal-d16b20ed6ad3699792f519c7c2370a2930081878.zip
nixos: expand documentation included in the system
-rw-r--r--nixos/modules/desktop.nix8
-rw-r--r--nixos/modules/develop.nix5
2 files changed, 11 insertions, 2 deletions
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"