communication module: remove unused apps and enable discord by default

This commit is contained in:
Victor Mignot 2024-12-06 14:50:34 +01:00
parent 65369d7c11
commit 04860a678b
Signed by: dala
SSH key fingerprint: SHA256:+3O9MhlDc2tJL0n+E+Myr7nL+74DP9AXdIXHmIqZTkY
2 changed files with 1 additions and 16 deletions

View file

@ -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";

View file

@ -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)
]; ];
} }