diff --git a/modules/home/documentation.nix b/modules/home/documentation.nix new file mode 100644 index 0000000..49f676f --- /dev/null +++ b/modules/home/documentation.nix @@ -0,0 +1,16 @@ +{ config, lib, pkgs, ... }: + +let cfg = config.sydnix.documentation; +in { + options.sydnix.documentation = { + enable = lib.mkEnableOption "Docs"; + }; + + config = lib.mkIf cfg.enable { + home.extraOutputsToInstall = [ + "doc" + "info" + "man" + ]; + }; +} diff --git a/users/msyds/default.nix b/users/msyds/default.nix index dba99dd..7f4b1fe 100644 --- a/users/msyds/default.nix +++ b/users/msyds/default.nix @@ -29,6 +29,7 @@ ../../public-keys/ssh/${"msyds@sydpc.pub"}; sydnix = { + documentation.enable = true; xdg.enable = true; steam.enable = true; zotero.enable = true;