From d7b68928a7d79604432b30617b81dc173082d188 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Tue, 8 Oct 2024 20:16:03 +0400 Subject: [PATCH] desktop/chat: gajim init --- modules/desktop/chat/default.nix | 1 + modules/desktop/chat/gajim/default.nix | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 modules/desktop/chat/gajim/default.nix diff --git a/modules/desktop/chat/default.nix b/modules/desktop/chat/default.nix index 923077b5..75d157af 100644 --- a/modules/desktop/chat/default.nix +++ b/modules/desktop/chat/default.nix @@ -8,5 +8,6 @@ ./signal ./cinny ./element + ./gajim ]; } diff --git a/modules/desktop/chat/gajim/default.nix b/modules/desktop/chat/gajim/default.nix new file mode 100644 index 00000000..5e83e76f --- /dev/null +++ b/modules/desktop/chat/gajim/default.nix @@ -0,0 +1,10 @@ +{ outputs, options, config, lib, pkgs, ... }: +let cfg = config.modules.desktop.chat.gajim; +in { + options.modules.desktop.chat.gajim = { enable = lib.mkEnableOption false; }; + + config = lib.mkIf cfg.enable { + users.users.sako.packages = with pkgs; [ gajim ]; + + }; +}