15 lines
411 B
Nix
15 lines
411 B
Nix
{ 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.override {
|
|
plugins =
|
|
[ pidginPackages.pidgin-otr pidginPackages.pidgin-indicator ];
|
|
})
|
|
];
|
|
};
|
|
}
|