home: add thunderbird

This commit is contained in:
Guanran Wang 2024-01-07 23:45:20 +08:00
parent 9e145b5c65
commit 55c239266f
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
4 changed files with 35 additions and 0 deletions

View file

@ -34,6 +34,7 @@
".ssh" ".ssh"
".librewolf" ".librewolf"
".thunderbird"
".config/chromium" ".config/chromium"
".config/fcitx5" ".config/fcitx5"
".config/Mumble" ".config/Mumble"

View file

@ -0,0 +1,15 @@
{pkgs, ...}: {
programs.thunderbird = {
enable = true;
profiles.default = {
isDefault = true;
extraConfig = ''
${builtins.readFile (pkgs.fetchurl {
url = "https://raw.githubusercontent.com/HorlogeSkynet/thunderbird-user.js/d6b18302e46349d9924c8a76951bae6efca51501/user.js";
hash = "sha256-66B1yLQkQnydAUXD7KGt32OhWSYcdWX+BUozrgW9uAg=";
})}
${builtins.readFile ./user-overrides.js}
'';
};
};
}

View file

@ -0,0 +1,18 @@
// Cache related.
// I have stupidly slow Internet connection and also on a proxy.
user_pref("browser.cache.disk.enable", true);
user_pref("browser.cache.memory.enable", true);
user_pref("browser.cache.memory.capacity", 1);
user_pref("privacy.clearOnShutdown.cache", false);
user_pref("mail.imap.use_disk_cache2", true);
// View related.
// Makes messages prettier.
user_pref("permissions.default.image", 1);
user_pref("mailnews.display.disallow_mime_handlers", 0);
user_pref("mailnews.display.html_as", 0);
user_pref("mailnews.message_display.disable_remote_image", false);
// user_pref("privacy.resistFingerprinting", false);
user_Pref("mail.shell.checkDefaultClient", false);

View file

@ -41,6 +41,7 @@
"sway" "sway"
# Misc # Misc
"thunderbird"
"telegram-desktop" "telegram-desktop"
"nautilus" "nautilus"
"fcitx5" "fcitx5"