2024-06-29 12:04:53 -04:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: let
|
2024-06-30 01:12:48 -04:00
|
|
|
mkPassword = secret: "${lib.getExe' pkgs.coreutils "cat"} ${secret}";
|
2024-06-29 12:04:53 -04:00
|
|
|
in {
|
|
|
|
accounts.email.accounts = {
|
2024-06-30 01:12:48 -04:00
|
|
|
"alyraffauf@fastmail.com" = {
|
2024-06-29 12:04:53 -04:00
|
|
|
address = "alyraffauf@fastmail.com";
|
|
|
|
aliases = ["aly@raffauflabs.com"];
|
|
|
|
flavor = "fastmail.com";
|
2024-06-30 09:18:04 -04:00
|
|
|
himalaya.enable = true;
|
2024-07-07 13:20:16 -04:00
|
|
|
passwordCommand = mkPassword config.age.secrets.alyraffaufFastmail.path;
|
2024-06-29 12:04:53 -04:00
|
|
|
primary = true;
|
|
|
|
realName = "Aly Raffauf";
|
2024-06-30 18:44:39 -04:00
|
|
|
|
|
|
|
signature = {
|
|
|
|
text = ''
|
|
|
|
Thank you,
|
|
|
|
Aly Raffauf
|
|
|
|
https://aly.RaffaufLabs.com
|
|
|
|
https://alyraffauf.github.com
|
|
|
|
'';
|
|
|
|
|
|
|
|
showSignature = "append";
|
|
|
|
};
|
|
|
|
|
2024-06-29 12:04:53 -04:00
|
|
|
thunderbird = {
|
|
|
|
enable = true;
|
|
|
|
profiles = ["default"];
|
|
|
|
};
|
2024-06-30 01:12:48 -04:00
|
|
|
|
2024-06-29 12:04:53 -04:00
|
|
|
userName = "alyraffauf@fastmail.com";
|
2024-06-30 01:12:48 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
"achacega@gmail.com" = {
|
|
|
|
address = "achacega@gmail.com";
|
|
|
|
aliases = ["alyraffauf@gmail.com"];
|
|
|
|
flavor = "gmail.com";
|
2024-06-29 12:04:53 -04:00
|
|
|
himalaya.enable = true;
|
2024-07-07 13:20:16 -04:00
|
|
|
passwordCommand = mkPassword config.age.secrets.achacegaGmail.path;
|
2024-06-30 01:12:48 -04:00
|
|
|
realName = "Aly Raffauf";
|
|
|
|
|
2024-06-30 18:44:39 -04:00
|
|
|
signature = {
|
|
|
|
text = ''
|
|
|
|
--
|
|
|
|
Aly Raffauf (née Chace)
|
|
|
|
'';
|
2024-07-10 23:43:51 -04:00
|
|
|
|
|
|
|
showSignature = "append";
|
2024-06-30 18:44:39 -04:00
|
|
|
};
|
|
|
|
|
2024-06-30 01:12:48 -04:00
|
|
|
thunderbird = {
|
|
|
|
enable = true;
|
|
|
|
profiles = ["default"];
|
|
|
|
};
|
|
|
|
|
|
|
|
userName = "achacega@gmail.com";
|
|
|
|
};
|
|
|
|
|
|
|
|
"aly.chace@joingsg.com" = {
|
|
|
|
address = "aly.chace@joingsg.com";
|
|
|
|
flavor = "gmail.com";
|
|
|
|
realName = "Aly Raffauf";
|
|
|
|
|
2024-06-30 18:44:39 -04:00
|
|
|
signature = {
|
|
|
|
text = ''
|
|
|
|
Aly Raffauf (née Chace)
|
|
|
|
Content Operations Specialist 1
|
|
|
|
Global Savings Group
|
|
|
|
'';
|
|
|
|
|
|
|
|
showSignature = "append";
|
|
|
|
};
|
|
|
|
|
2024-06-30 01:12:48 -04:00
|
|
|
thunderbird = {
|
|
|
|
enable = true;
|
|
|
|
profiles = ["work"];
|
|
|
|
};
|
|
|
|
|
|
|
|
userName = "aly.chace@joingsg.com";
|
2024-06-29 12:04:53 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-08-08 22:22:14 -04:00
|
|
|
# home.file = let
|
|
|
|
# source = builtins.fetchGit {
|
|
|
|
# url = "https://github.com/rafaelmardojai/thunderbird-gnome-theme.git";
|
|
|
|
# rev = "628fcccb7788e3e0ad34f67114f563c87ac8c1dc";
|
|
|
|
# ref = "main";
|
|
|
|
# };
|
|
|
|
# in {
|
|
|
|
# ".thunderbird/default/chrome".source = source;
|
|
|
|
# ".thunderbird/work/chrome".source = source;
|
|
|
|
# };
|
2024-07-12 19:48:04 -04:00
|
|
|
|
2024-06-29 12:04:53 -04:00
|
|
|
programs = {
|
|
|
|
himalaya.enable = true;
|
|
|
|
|
|
|
|
thunderbird = {
|
|
|
|
enable = true;
|
2024-07-02 14:44:02 -04:00
|
|
|
profiles = let
|
2024-07-11 19:49:01 -04:00
|
|
|
settings = {
|
|
|
|
"calendar.timezone.useSystemTimezone" = true;
|
|
|
|
"datareporting.healthreport.uploadEnabled" = false;
|
|
|
|
"mailnews.default_sort_order" = 2; # descending, 1 for ascending
|
|
|
|
"mailnews.default_sort_type" = 18; # sort by date
|
|
|
|
"mailnews.message_display.disable_remote_image" = 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;
|
2024-07-12 19:48:04 -04:00
|
|
|
"svg.context-properties.content.enabled" = true;
|
|
|
|
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
2024-07-11 19:49:01 -04:00
|
|
|
"toolkit.telemetry.enabled" = false;
|
|
|
|
};
|
2024-07-02 14:44:02 -04:00
|
|
|
in {
|
|
|
|
default = {
|
|
|
|
inherit settings;
|
|
|
|
isDefault = true;
|
|
|
|
};
|
2024-07-10 23:43:51 -04:00
|
|
|
work.settings = settings;
|
2024-06-29 12:04:53 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-06-29 16:45:32 -04:00
|
|
|
|
|
|
|
xdg.desktopEntries.thunderwork = {
|
|
|
|
categories = ["Application" "Network" "Chat" "Email" "Feed" "GTK" "News"];
|
|
|
|
comment = "Read and write e-mails or RSS feeds, or manage tasks on calendars.";
|
2024-07-10 23:43:51 -04:00
|
|
|
exec = "thunderbird -P work --name thunderwork %U";
|
2024-06-29 16:45:32 -04:00
|
|
|
genericName = "Email Client";
|
|
|
|
icon = "thunderbird";
|
|
|
|
mimeType = ["message/rfc822" "x-scheme-handler/mailto" "text/calendar" "text/x-vcard"];
|
|
|
|
name = "Thunderbird (work)";
|
2024-07-10 23:43:51 -04:00
|
|
|
settings.StartupWMClass = "thunderwork";
|
2024-06-29 16:45:32 -04:00
|
|
|
startupNotify = true;
|
|
|
|
terminal = false;
|
|
|
|
};
|
2024-06-29 12:04:53 -04:00
|
|
|
}
|