From 5b5e9a0130d7156367e787132ad8efff28c31191 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Fri, 26 Jul 2024 13:59:35 +0800 Subject: [PATCH] home/thunderbird: unbreak + update --- home/applications/thunderbird/default.nix | 4 ++-- home/applications/thunderbird/user-overrides.js | 17 ++++++++--------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/home/applications/thunderbird/default.nix b/home/applications/thunderbird/default.nix index c884e74..2bcf687 100644 --- a/home/applications/thunderbird/default.nix +++ b/home/applications/thunderbird/default.nix @@ -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} ''; diff --git a/home/applications/thunderbird/user-overrides.js b/home/applications/thunderbird/user-overrides.js index c5120b4..bf39fbc 100644 --- a/home/applications/thunderbird/user-overrides.js +++ b/home/applications/thunderbird/user-overrides.js @@ -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);