nix-configs/modules/desktop/social.nix
2024-10-03 19:31:26 +02:00

34 lines
705 B
Nix

{
config,
lib,
pkgs,
...
}: let
cfg = config.jade.desktop.social;
in
with lib; {
options.jade.desktop.social = {
enable = mkEnableOption "Enable social apps";
};
config = mkIf cfg.enable {
home-manager.users.jade = {
pkgs,
pkgs-stable,
...
}: {
home.packages = with pkgs; [
signal-desktop
mumble
element-desktop
pkgs.evolution-data-server-gtk4
];
};
programs.evolution = {
enable = true;
plugins = [pkgs.evolution-ews];
};
services.gnome.evolution-data-server.enable = true;
services.gnome.evolution-data-server.plugins = [];
};
}