From bc39da7e23da8947e87525b6fd116b2b7241855f Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Mon, 19 Aug 2024 21:51:38 -0400 Subject: [PATCH] aly/mail: remove thunderbird work profile (#93) --- homes/aly/mail/default.nix | 37 +++++-------------------------------- 1 file changed, 5 insertions(+), 32 deletions(-) diff --git a/homes/aly/mail/default.nix b/homes/aly/mail/default.nix index e9183798..fbd0fc56 100644 --- a/homes/aly/mail/default.nix +++ b/homes/aly/mail/default.nix @@ -77,30 +77,22 @@ in { thunderbird = { enable = true; - profiles = ["work"]; + profiles = ["default"]; }; 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 = { himalaya.enable = true; thunderbird = { enable = true; - profiles = let + + profiles.default = { + isDefault = true; + settings = { "calendar.timezone.useSystemTimezone" = true; "datareporting.healthreport.uploadEnabled" = false; @@ -123,26 +115,7 @@ in { "toolkit.legacyUserProfileCustomizations.stylesheets" = true; "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; - }; }