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 = {
|
hmConfig = {
|
||||||
programs.helix.enable = true;
|
programs.helix.enable = true;
|
||||||
my.communications.matrix-client.enable = true;
|
|
||||||
my.desktop.sway.monitors = [
|
my.desktop.sway.monitors = [
|
||||||
{
|
{
|
||||||
name = "Chimei Innolux Corporation 0x14C9 Unknown";
|
name = "Chimei Innolux Corporation 0x14C9 Unknown";
|
||||||
|
|
|
@ -13,13 +13,7 @@ with lib;
|
||||||
discord.enable = mkOption {
|
discord.enable = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
example = true;
|
example = true;
|
||||||
default = false;
|
default = true;
|
||||||
};
|
|
||||||
|
|
||||||
slack.enable = mkOption {
|
|
||||||
type = types.bool;
|
|
||||||
default = false;
|
|
||||||
example = false;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
irc.enable = mkOption {
|
irc.enable = mkOption {
|
||||||
|
@ -27,18 +21,10 @@ with lib;
|
||||||
default = false;
|
default = false;
|
||||||
example = false;
|
example = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
matrix-client.enable = mkOption {
|
|
||||||
type = types.bool;
|
|
||||||
default = false;
|
|
||||||
example = false;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
config.home.packages = with pkgs; [
|
config.home.packages = with pkgs; [
|
||||||
(mkIf commConfig.discord.enable (discord.override { nss = nss_latest; }))
|
(mkIf commConfig.discord.enable (discord.override { nss = nss_latest; }))
|
||||||
(mkIf commConfig.slack.enable slack)
|
|
||||||
(mkIf commConfig.irc.enable weechat)
|
(mkIf commConfig.irc.enable weechat)
|
||||||
(mkIf commConfig.matrix-client.enable element)
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue