From c860bb4ba039fa2a8c58d424fa0c3f96b014102f Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sun, 12 Jan 2025 16:08:01 +0400 Subject: [PATCH] mumble --- hosts/sakopc/configuration.nix | 1 + modules/desktop/chat/default.nix | 1 + modules/desktop/chat/mumble.nix | 10 ++++++++++ 3 files changed, 12 insertions(+) create mode 100644 modules/desktop/chat/mumble.nix diff --git a/hosts/sakopc/configuration.nix b/hosts/sakopc/configuration.nix index a600dbb9..4f3dbdfa 100644 --- a/hosts/sakopc/configuration.nix +++ b/hosts/sakopc/configuration.nix @@ -39,6 +39,7 @@ chat = { zoom.enable = true; discord.enable = true; + mumble.enable = true; thunderbird.enable = true; teams.enable = true; telegram.enable = true; diff --git a/modules/desktop/chat/default.nix b/modules/desktop/chat/default.nix index 9baabd8d..b623354e 100644 --- a/modules/desktop/chat/default.nix +++ b/modules/desktop/chat/default.nix @@ -12,5 +12,6 @@ ./pidgin ./psiplus ./thunderbird.nix + ./mumble.nix ]; } diff --git a/modules/desktop/chat/mumble.nix b/modules/desktop/chat/mumble.nix new file mode 100644 index 00000000..2470a3e3 --- /dev/null +++ b/modules/desktop/chat/mumble.nix @@ -0,0 +1,10 @@ +{ outputs, options, config, lib, pkgs, ... }: +let cfg = config.modules.desktop.chat.mumble; +in { + options.modules.desktop.chat.mumble = { enable = lib.mkEnableOption false; }; + + config = lib.mkIf cfg.enable { + users.users.sako.packages = [ pkgs.mumble ]; + + }; +}