nixcfg/homes/aly/mail/default.nix
Aly Raffauf f757d87c68
Some checks failed
git-mirror / gitlab-sync (push) Has been cancelled
nix-build / default-build (push) Has been cancelled
nix-build / fallarbor-build (push) Has been cancelled
nix-build / lavaridge-build (push) Has been cancelled
nix-build / mauville-build (push) Has been cancelled
nix-build / petalburg-build (push) Has been cancelled
nix-build / rustboro-build (push) Has been cancelled
nix-build / slateport-build (push) Has been cancelled
nix-check / fmt-check (push) Has been cancelled
nix-check / eval-check (push) Has been cancelled
aly/thunderbird: disable start page
2024-09-24 23:15:08 -04:00

100 lines
2.7 KiB
Nix

{
config,
lib,
pkgs,
...
}: let
mkPassword = secret: "${lib.getExe' pkgs.coreutils "cat"} ${secret}";
in {
accounts.email.accounts = {
"alyraffauf@fastmail.com" = {
address = "alyraffauf@fastmail.com";
aliases = ["aly@raffauflabs.com"];
flavor = "fastmail.com";
himalaya.enable = true;
passwordCommand = mkPassword config.age.secrets.alyraffaufFastmail.path;
primary = true;
realName = "Aly Raffauf";
signature = {
text = ''
Thank you,
Aly Raffauf
https://aly.raffauflabs.com
'';
showSignature = "append";
};
thunderbird = {
enable = true;
profiles = ["default"];
};
userName = "alyraffauf@fastmail.com";
};
"achacega@gmail.com" = {
address = "achacega@gmail.com";
aliases = ["alyraffauf@gmail.com"];
flavor = "gmail.com";
himalaya.enable = true;
passwordCommand = mkPassword config.age.secrets.achacegaGmail.path;
realName = "Aly Raffauf";
signature = {
text = ''
--
Aly Raffauf (née Chace)
'';
showSignature = "append";
};
thunderbird = {
enable = true;
profiles = ["default"];
};
userName = "achacega@gmail.com";
};
};
programs = {
himalaya.enable = true;
thunderbird = {
enable = true;
package = pkgs.betterbird;
profiles.default = {
isDefault = true;
settings = {
"calendar.timezone.useSystemTimezone" = true;
"datareporting.healthreport.uploadEnabled" = false;
"mail.tabs.drawInTitlebar" = true;
"mailnews.default_sort_order" = 2; # descending, 1 for ascending
"mailnews.default_sort_type" = 18; # sort by date
"mailnews.message_display.disable_remote_image" = false;
"mailnews.start_page.enabled" = false;
"network.cookie.cookieBehavior" = 2; # no cookies
"pdfjs.enabledCache.state" = true;
"privacy.donottrackheader.enabled" = true;
"privacy.fingerprintingProtection" = true;
"privacy.firstparty.isolate" = true;
"privacy.purge_trackers.date_in_cookie_database" = "0";
"privacy.resistFingerprinting" = true;
"privacy.trackingprotection.emailtracking.enabled" = true;
"privacy.trackingprotection.enabled" = true;
"privacy.trackingprotection.fingerprinting.enabled" = true;
"privacy.trackingprotection.socialtracking.enabled" = true;
"svg.context-properties.content.enabled" = true;
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
"toolkit.telemetry.enabled" = false;
};
};
};
};
}