2024-11-23 15:22:55 -08:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
2025-01-12 13:34:02 -08:00
|
|
|
}: let
|
2024-11-23 15:22:55 -08:00
|
|
|
cfg = config.marleyos.programs.pidgin;
|
2025-01-12 13:34:02 -08:00
|
|
|
in {
|
|
|
|
options.marleyos.programs.pidgin.enable = lib.mkEnableOption "pidgin";
|
2024-11-23 15:22:55 -08:00
|
|
|
|
2025-01-12 13:34:02 -08:00
|
|
|
config = lib.mkIf cfg.enable {
|
2024-11-23 15:22:55 -08:00
|
|
|
programs.pidgin = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
plugins = with pkgs.pidginPackages; [
|
|
|
|
pidgin-window-merge
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
home.file = {
|
|
|
|
".purple/smileys/pandamotes".source = ./pandamotes;
|
|
|
|
".purple/smileys/pixelhead".source = ./pixelhead;
|
|
|
|
".purple/themes/hearty".source = ./hearty;
|
|
|
|
};
|
|
|
|
|
2025-01-12 13:34:02 -08:00
|
|
|
xsession.initExtra =
|
|
|
|
# sh
|
2024-11-23 15:22:55 -08:00
|
|
|
''
|
2025-01-12 13:34:02 -08:00
|
|
|
${lib.getExe config.programs.pidgin.package} &
|
2024-11-23 15:22:55 -08:00
|
|
|
'';
|
2025-01-12 13:34:02 -08:00
|
|
|
|
|
|
|
wayland.windowManager.hyprland.settings.exec-once = [
|
|
|
|
(lib.getExe config.programs.pidgin.package)
|
|
|
|
];
|
2024-11-23 15:22:55 -08:00
|
|
|
};
|
|
|
|
}
|