home/thunderbird: unbreak + update

This commit is contained in:
Guanran Wang 2024-07-26 13:59:35 +08:00
parent 71c309a2b0
commit 5b5e9a0130
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
2 changed files with 10 additions and 11 deletions

View file

@ -5,8 +5,8 @@
isDefault = true;
extraConfig = ''
${builtins.readFile (builtins.fetchurl {
url = "https://raw.githubusercontent.com/HorlogeSkynet/thunderbird-user.js/d6b18302e46349d9924c8a76951bae6efca51501/user.js";
sha256 = "sha256-66B1yLQkQnydAUXD7KGt32OhWSYcdWX+BUozrgW9uAg=";
url = "https://raw.githubusercontent.com/HorlogeSkynet/thunderbird-user.js/824edabe6303d6b85a32fcba96901706ed4c5922/user.js";
sha256 = "0jg7i39yp21r66azlzk7978qj57rgb8c09d1hccpcw058isgymq6";
})}
${builtins.readFile ./user-overrides.js}
'';

View file

@ -1,17 +1,16 @@
// Cache related.
// I have stupidly slow Internet connection and also on a proxy.
// Cache
user_pref("browser.cache.disk.enable", true);
user_pref("browser.cache.memory.capacity", -1);
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);
user_pref("privacy.clearOnShutdown.cache", false);
// View related.
// Makes messages prettier.
user_pref("permissions.default.image", 1);
// View
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("permissions.default.image", 1);
// user_pref("privacy.resistFingerprinting", false);
user_Pref("mail.shell.checkDefaultClient", false);
// Misc
user_pref("javascript.enabled", true); // needed for outlook oauth
user_pref("mail.shell.checkDefaultClient", false);