Compare commits

..

2 commits

2 changed files with 12 additions and 12 deletions

View file

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

View file

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