communication module: remove unused apps and enable discord by default
This commit is contained in:
parent
65369d7c11
commit
04860a678b
2 changed files with 1 additions and 16 deletions
|
@ -41,7 +41,6 @@
|
|||
|
||||
hmConfig = {
|
||||
programs.helix.enable = true;
|
||||
my.communications.matrix-client.enable = true;
|
||||
my.desktop.sway.monitors = [
|
||||
{
|
||||
name = "Chimei Innolux Corporation 0x14C9 Unknown";
|
||||
|
|
|
@ -13,13 +13,7 @@ with lib;
|
|||
discord.enable = mkOption {
|
||||
type = types.bool;
|
||||
example = true;
|
||||
default = false;
|
||||
};
|
||||
|
||||
slack.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
example = false;
|
||||
default = true;
|
||||
};
|
||||
|
||||
irc.enable = mkOption {
|
||||
|
@ -27,18 +21,10 @@ with lib;
|
|||
default = false;
|
||||
example = false;
|
||||
};
|
||||
|
||||
matrix-client.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
example = false;
|
||||
};
|
||||
};
|
||||
|
||||
config.home.packages = with pkgs; [
|
||||
(mkIf commConfig.discord.enable (discord.override { nss = nss_latest; }))
|
||||
(mkIf commConfig.slack.enable slack)
|
||||
(mkIf commConfig.irc.enable weechat)
|
||||
(mkIf commConfig.matrix-client.enable element)
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue