aboutsummaryrefslogtreecommitdiff
path: root/modules/thunderbird/default.nix
blob: b4ba152f5d58f49f2b6f8892c867460c37eb95a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ config, pkgs, lib, ... }:
let
  thunderbird = pkgs.thunderbird-latest;

  extensions = [
    # Theme
    # "https://addons.thunderbird.net/thunderbird/downloads/latest/dracula-theme-for-thunderbird/addon-987962-latest.xpi"
    # "https://addons.thunderbird.net/thunderbird/downloads/latest/luminous-matter/addon-988120-latest.xpi"
    "https://addons.thunderbird.net/thunderbird/downloads/latest/dark-black-theme/addon-988343-latest.xpi"

    "https://addons.thunderbird.net/thunderbird/downloads/latest/grammar-and-spell-checker/addon-988138-latest.xpi"
    # "https://addons.thunderbird.net/thunderbird/downloads/latest/external-editor-revived/addon-988342-latest.xpi"
  ];

  policies = {
    Extensions.Install = extensions;
  };

  preferences = {
    # "general.useragent.override" = "";
    # "mail.spellcheck.inline" = true;
    "privacy.donottrackheader.enabled" = true;
  };
in {
  programs.thunderbird = {
    enable = true;
    package = thunderbird;
    policies = policies;
    preferencesStatus = "default";
    preferences = preferences;
  };
}