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" ]; }