From 2317f427ae811222c3fcb9deb096eaa8b1ddbc9e Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sun, 3 Nov 2024 15:32:08 +0400 Subject: [PATCH] thudnerbird --- modules/desktop/chat/default.nix | 1 + modules/desktop/chat/thunderbird.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 modules/desktop/chat/thunderbird.nix diff --git a/modules/desktop/chat/default.nix b/modules/desktop/chat/default.nix index b9bfc569..59fc8756 100644 --- a/modules/desktop/chat/default.nix +++ b/modules/desktop/chat/default.nix @@ -11,5 +11,6 @@ ./gajim ./pidgin ./psiplus + ./thunderbird ]; } diff --git a/modules/desktop/chat/thunderbird.nix b/modules/desktop/chat/thunderbird.nix new file mode 100644 index 00000000..98a201a2 --- /dev/null +++ b/modules/desktop/chat/thunderbird.nix @@ -0,0 +1,12 @@ +{ outputs, options, config, lib, pkgs, ... }: +let cfg = config.modules.desktop.chat.thunderbird; +in { + options.modules.desktop.chat.thunderbird = { + enable = lib.mkEnableOption false; + }; + + config = lib.mkIf cfg.enable { + users.users.sako.packages = [ pkgs.thunderbird ]; + + }; +}