aly/mail: remove thunderbird work profile (#93)

This commit is contained in:
Aly Raffauf 2024-08-19 21:51:38 -04:00 committed by GitHub
parent d96a001956
commit bc39da7e23
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -77,30 +77,22 @@ in {
thunderbird = { thunderbird = {
enable = true; enable = true;
profiles = ["work"]; profiles = ["default"];
}; };
userName = "aly.chace@joingsg.com"; userName = "aly.chace@joingsg.com";
}; };
}; };
# 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;
# };
programs = { programs = {
himalaya.enable = true; himalaya.enable = true;
thunderbird = { thunderbird = {
enable = true; enable = true;
profiles = let
profiles.default = {
isDefault = true;
settings = { settings = {
"calendar.timezone.useSystemTimezone" = true; "calendar.timezone.useSystemTimezone" = true;
"datareporting.healthreport.uploadEnabled" = false; "datareporting.healthreport.uploadEnabled" = false;
@ -123,26 +115,7 @@ in {
"toolkit.legacyUserProfileCustomizations.stylesheets" = true; "toolkit.legacyUserProfileCustomizations.stylesheets" = true;
"toolkit.telemetry.enabled" = false; "toolkit.telemetry.enabled" = false;
}; };
in {
default = {
inherit settings;
isDefault = true;
};
work.settings = settings;
}; };
}; };
}; };
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.";
exec = "thunderbird -P work --name thunderwork %U";
genericName = "Email Client";
icon = "thunderbird";
mimeType = ["message/rfc822" "x-scheme-handler/mailto" "text/calendar" "text/x-vcard"];
name = "Thunderbird (work)";
settings.StartupWMClass = "thunderwork";
startupNotify = true;
terminal = false;
};
} }