18 lines
619 B
Nix
18 lines
619 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
|
|
let cfg = config.local.programs.communication; in
|
|
{
|
|
options.local.programs.communication = with lib; {
|
|
simplex-chat.enable = mkEnableOption "SimplexChat";
|
|
telegram.enable = mkEnableOption "tdesktop. telegram client";
|
|
matrix.enable = mkEnableOption "nheko. matrix client";
|
|
skype.enable = mkEnableOption "skype";
|
|
};
|
|
|
|
config.home.packages = with pkgs.unstable;
|
|
lib.optional cfg.simplex-chat.enable simplex-chat-desktop
|
|
++ lib.optional cfg.telegram.enable tdesktop
|
|
++ lib.optional cfg.matrix.enable nheko
|
|
++ lib.optional cfg.skype.enable skypeforlinux;
|
|
}
|