diff --git a/modules/desktop/chat/default.nix b/modules/desktop/chat/default.nix index cb5feba1..b9bfc569 100644 --- a/modules/desktop/chat/default.nix +++ b/modules/desktop/chat/default.nix @@ -10,5 +10,6 @@ ./element ./gajim ./pidgin + ./psiplus ]; } diff --git a/modules/desktop/chat/psiplus/default.nix b/modules/desktop/chat/psiplus/default.nix new file mode 100644 index 00000000..0e8bfc70 --- /dev/null +++ b/modules/desktop/chat/psiplus/default.nix @@ -0,0 +1,12 @@ +{ outputs, options, config, lib, pkgs, ... }: +let cfg = config.modules.desktop.chat.psi-plus; +in { + options.modules.desktop.chat.psi-plus = { + enable = lib.mkEnableOption false; + }; + + config = lib.mkIf cfg.enable { + users.users.sako.packages = with pkgs; [ psi-plus ]; + + }; +}