From c0feb057b53e3a33b154b1f505c1675a04918abb Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Mon, 11 Sep 2023 11:37:10 +0400 Subject: [PATCH] add zoom --- modules/desktop/chat/default.nix | 1 + modules/desktop/chat/zoom/default.nix | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 modules/desktop/chat/zoom/default.nix diff --git a/modules/desktop/chat/default.nix b/modules/desktop/chat/default.nix index cfb2bf12..83930fc4 100644 --- a/modules/desktop/chat/default.nix +++ b/modules/desktop/chat/default.nix @@ -2,5 +2,6 @@ imports = [ ./teams ./whatsapp + ./zoom ]; } diff --git a/modules/desktop/chat/zoom/default.nix b/modules/desktop/chat/zoom/default.nix new file mode 100644 index 00000000..083e5130 --- /dev/null +++ b/modules/desktop/chat/zoom/default.nix @@ -0,0 +1,16 @@ +{ outputs, options, config, lib, pkgs, ...}: +with lib; +let + cfg = config.modules.desktop.chat.zoom; +in +{ + options.modules.desktop.chat.zoom = { + enable = mkEnableOption false; + }; + + config = mkIf cfg.enable { + users.users.sako.package = with pkgs; [ + zoom-us + ]; + }; +}