From 7239672bc9645d2cad5d868f446744279fd4ecad Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sat, 12 Oct 2024 11:22:45 +0400 Subject: [PATCH] desktop/chat: add psi-plus --- modules/desktop/chat/default.nix | 1 + modules/desktop/chat/psiplus/default.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 modules/desktop/chat/psiplus/default.nix 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 ]; + + }; +}