From ca692d924d08b80136eb92d0cf8bf7bb18b92bd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Sun, 31 Mar 2024 16:08:51 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20(home)=20add=20thunderbird=20progra?= =?UTF-8?q?m?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/thunderbird/default.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 home/thunderbird/default.nix diff --git a/home/thunderbird/default.nix b/home/thunderbird/default.nix new file mode 100644 index 0000000..7c5b6d8 --- /dev/null +++ b/home/thunderbird/default.nix @@ -0,0 +1,26 @@ +{pkgs, ...}: let + user_agent = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"; +in { + programs.thunderbird = { + enable = true; + package = pkgs.thunderbird; + + profiles = { + laurent = { + isDefault = true; + userChrome = '' + #unifiedToolbarContent { + display: none !important; + } + ''; + }; + }; + + settings = { + "general.useragent.override" = user_agent; + "privacy.donottrackheader.enabled" = true; + "permissions.default.desktop-notification" = 1; + "toolkit.legacyUserProfileCustomizations.stylesheets" = true; + }; + }; +}