From 9cced59e58966fe9e3f70b760ba51908d35b1aa8 Mon Sep 17 00:00:00 2001 From: moons Date: Tue, 4 Aug 2026 23:06:01 +0900 Subject: [PATCH] thunderbird --- .../applications/thunderbird/home/common.nix | 24 +++++++++++++++++++ .../applications/thunderbird/home/nixos.nix | 10 ++++++++ modules/profiles/workload/personal/meta.nix | 1 + 3 files changed, 35 insertions(+) create mode 100644 modules/applications/thunderbird/home/common.nix create mode 100644 modules/applications/thunderbird/home/nixos.nix diff --git a/modules/applications/thunderbird/home/common.nix b/modules/applications/thunderbird/home/common.nix new file mode 100644 index 0000000..92cf9d5 --- /dev/null +++ b/modules/applications/thunderbird/home/common.nix @@ -0,0 +1,24 @@ +{ pkgs, ... }: +{ + programs.thunderbird = { + enable = true; + package = pkgs.thunderbird; + + languagePacks = [ "ja" ]; + + policies = { + DisableTelemetry = true; + DisableAppUpdate = true; + InAppNotification_Disabled = true; + }; + + settings = { + "mailnews.start_page.enabled" = false; + "mail.shell.checkDefaultClient" = false; + }; + + profiles.default = { + isDefault = true; + }; + }; +} diff --git a/modules/applications/thunderbird/home/nixos.nix b/modules/applications/thunderbird/home/nixos.nix new file mode 100644 index 0000000..c42571f --- /dev/null +++ b/modules/applications/thunderbird/home/nixos.nix @@ -0,0 +1,10 @@ +_: { + xdg.mimeApps = { + enable = true; + + defaultApplications = { + "x-scheme-handler/mailto" = "thunderbird.desktop"; + "message/rfc822" = "thunderbird.desktop"; + }; + }; +} diff --git a/modules/profiles/workload/personal/meta.nix b/modules/profiles/workload/personal/meta.nix index 93636f7..4952191 100644 --- a/modules/profiles/workload/personal/meta.nix +++ b/modules/profiles/workload/personal/meta.nix @@ -13,5 +13,6 @@ "applications.zoom" "applications.obs" "applications.nani" + "applications.thunderbird" ]; }