2024-08-29 09:44:05 +00:00
|
|
|
# My custom installation of Thunderbird where it's customized to be as
|
|
|
|
# standalone as possible.
|
|
|
|
final: prev:
|
2024-08-26 07:11:58 +00:00
|
|
|
|
|
|
|
{
|
2024-08-29 09:44:05 +00:00
|
|
|
thunderbird-foodogsquared = with prev; wrapThunderbird thunderbird-unwrapped {
|
2024-08-26 07:11:58 +00:00
|
|
|
extraPolicies = {
|
|
|
|
AppsAutoUpdate = false;
|
|
|
|
DisableAppUpdate = false;
|
|
|
|
|
|
|
|
ExtensionSettings = let
|
|
|
|
thunderbirdAddon = name:
|
|
|
|
"https://addons.thunderbird.net/thunderbird/downloads/latest/${name}/latest.xpi";
|
|
|
|
|
|
|
|
extensions = {
|
|
|
|
"uBlock0@raymondhill.net" = {
|
|
|
|
installation_mode = "force_installed";
|
|
|
|
installation_url = thunderbirdAddon "ublock-origin";
|
|
|
|
};
|
|
|
|
|
|
|
|
"{e6696d02-466a-11e3-a162-04e36188709b}".installation_url = thunderbirdAddon "eds-calendar-integration";
|
|
|
|
"quickfolders@curious.be".installation_url = thunderbirdAddon "quickfolders-tabbed-folders";
|
|
|
|
};
|
|
|
|
|
|
|
|
applyInstallationMode = name: value:
|
|
|
|
lib.nameValuePair name (value //
|
|
|
|
(lib.optionalAttrs
|
|
|
|
(! (lib.hasAttrByPath [ "installation_mode" ] value))
|
|
|
|
{ installation_mode = "normal_installed"; }));
|
|
|
|
in
|
|
|
|
lib.mapAttrs' applyInstallationMode extensions;
|
|
|
|
|
|
|
|
OfferToSaveLoginsDefault = false;
|
|
|
|
PasswordManagerEnabled = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|