1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-23 03:32:08 +01:00
github.com-tboerger-nixos-c.../home/shared/programs/messages.nix
2024-07-17 16:05:33 +02:00

38 lines
612 B
Nix

{ pkgs, lib, config, options, ... }:
with lib;
let
cfg = config.profile.programs.messages;
in
{
options = {
profile = {
programs = {
messages = {
enable = mkEnableOption "Messages";
};
};
};
};
config = mkIf cfg.enable {
home = {
packages = with pkgs; [
discord
element-desktop
ferdium
mattermost-desktop
revolt-desktop
rocketchat-desktop
signal-desktop
skypeforlinux
slack
teams-for-linux
telegram-desktop
whatsapp-for-linux
];
};
};
}