diff --git a/hosts/sakopc/configuration.nix b/hosts/sakopc/configuration.nix index f909c5fc..4d8a55f4 100644 --- a/hosts/sakopc/configuration.nix +++ b/hosts/sakopc/configuration.nix @@ -42,6 +42,7 @@ discord.enable = true; teams.enable = true; telegram.enable = true; + weechat.enable = true; }; game = { lutris.enable = true; diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index a37c56a7..5c451310 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -39,6 +39,7 @@ discord.enable = true; teams.enable = true; telegram.enable = true; + weechat.enable = true; }; apps = { nemo.enable = true; diff --git a/hosts/sakowsl/configuration.nix b/hosts/sakowsl/configuration.nix index f33408c6..91a3d347 100644 --- a/hosts/sakowsl/configuration.nix +++ b/hosts/sakowsl/configuration.nix @@ -114,6 +114,9 @@ nextcloud.enable = true; pass.enable = true; }; + chat = { + weechat.enable = true; + }; }; dev = { editors = { diff --git a/modules/desktop/chat/default.nix b/modules/desktop/chat/default.nix index 5b760273..643211e6 100644 --- a/modules/desktop/chat/default.nix +++ b/modules/desktop/chat/default.nix @@ -5,5 +5,6 @@ ./zoom ./discord ./telegram + ./weechat ]; } diff --git a/modules/desktop/chat/weechat/default.nix b/modules/desktop/chat/weechat/default.nix new file mode 100644 index 00000000..3c5b5a24 --- /dev/null +++ b/modules/desktop/chat/weechat/default.nix @@ -0,0 +1,21 @@ +{ + outputs, + options, + config, + lib, + pkgs, + ... +}: +with lib; let + cfg = config.modules.desktop.chat.whatsapp; +in { + options.modules.desktop.chat.weechat = { + enable = mkEnableOption false; + }; + + config = mkIf cfg.enable { + users.users.sako.packages = with pkgs; [ + weechat + ]; + }; +}