From a95d871b74f04f407cceda68c7c489cbf92b78f1 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Tue, 27 Aug 2024 17:35:10 +0400 Subject: [PATCH] remove whatsapp module because whatsapp-for-linux is bad --- hosts/sakopc/configuration.nix | 1 - hosts/sakotop/configuration.nix | 1 - modules/desktop/chat/default.nix | 1 - modules/desktop/chat/whatsapp/default.nix | 15 --------------- 4 files changed, 18 deletions(-) delete mode 100644 modules/desktop/chat/whatsapp/default.nix diff --git a/hosts/sakopc/configuration.nix b/hosts/sakopc/configuration.nix index ca0db667..ef90d0b1 100644 --- a/hosts/sakopc/configuration.nix +++ b/hosts/sakopc/configuration.nix @@ -40,7 +40,6 @@ chromium.enable = true; }; chat = { - whatsapp.enable = true; zoom.enable = true; discord.enable = true; teams.enable = true; diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index 81f04bd2..33748a1e 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -38,7 +38,6 @@ chromium.enable = true; }; chat = { - whatsapp.enable = true; zoom.enable = true; discord.enable = true; signal.enable = true; diff --git a/modules/desktop/chat/default.nix b/modules/desktop/chat/default.nix index cb194e70..c47d3213 100644 --- a/modules/desktop/chat/default.nix +++ b/modules/desktop/chat/default.nix @@ -1,7 +1,6 @@ { imports = [ ./teams - ./whatsapp ./zoom ./discord ./telegram diff --git a/modules/desktop/chat/whatsapp/default.nix b/modules/desktop/chat/whatsapp/default.nix deleted file mode 100644 index 4dd83238..00000000 --- a/modules/desktop/chat/whatsapp/default.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ outputs, options, config, lib, pkgs, ...}: -let - cfg = config.modules.desktop.chat.whatsapp; -in -{ - options.modules.desktop.chat.whatsapp = { - enable = lib.mkEnableOption false; - }; - - config = lib.mkIf cfg.enable { - users.users.sako.packages = with pkgs; [ - whatsapp-for-linux - ]; - }; -}