diff --git a/hosts/sakopc/configuration.nix b/hosts/sakopc/configuration.nix index cb472345..1000e9db 100644 --- a/hosts/sakopc/configuration.nix +++ b/hosts/sakopc/configuration.nix @@ -45,6 +45,7 @@ signal.enable = true; element.enable = true; gajim.enable = true; + pidgin.enable = true; }; game = { lutris.enable = true; diff --git a/modules/desktop/chat/default.nix b/modules/desktop/chat/default.nix index 75d157af..cb5feba1 100644 --- a/modules/desktop/chat/default.nix +++ b/modules/desktop/chat/default.nix @@ -9,5 +9,6 @@ ./cinny ./element ./gajim + ./pidgin ]; } diff --git a/modules/desktop/chat/pidgin/default.nix b/modules/desktop/chat/pidgin/default.nix new file mode 100644 index 00000000..ba3846b1 --- /dev/null +++ b/modules/desktop/chat/pidgin/default.nix @@ -0,0 +1,10 @@ +{ outputs, options, config, lib, pkgs, ... }: +let cfg = config.modules.desktop.chat.pidgin; +in { + options.modules.desktop.chat.pidgin = { enable = lib.mkEnableOption false; }; + + config = lib.mkIf cfg.enable { + users.users.sako.packages = with pkgs; + [ (pidgin-with-plugins.override { plugins = [ pidgin-otr ]; }) ]; + }; +}