diff --git a/users/myuser/graphical/default.nix b/users/myuser/graphical/default.nix index a0e59f3..f814a1a 100644 --- a/users/myuser/graphical/default.nix +++ b/users/myuser/graphical/default.nix @@ -37,6 +37,8 @@ zathura ]; + # TODO thunderbird date time format is wrong even though this is C.utf8 + # TODO yubikey pinentry is curses but should be graphical # TODO accounts.concats accounts.calendar # TODO test different pinentrys (pinentry gtk?) # TODO agenix rekey edit secret should create temp files with same extension diff --git a/users/myuser/graphical/thunderbird.nix b/users/myuser/graphical/thunderbird.nix index 14e48df..0b23dec 100644 --- a/users/myuser/graphical/thunderbird.nix +++ b/users/myuser/graphical/thunderbird.nix @@ -35,6 +35,50 @@ in { profiles.personal = { isDefault = true; withExternalGnupg = true; + + settings = { + "mail.identity.default.archive_enabled" = true; + "mail.identity.default.archive_keep_folder_structure" = true; + "mail.identity.default.compose_html" = false; + "mail.identity.default.protectSubject" = true; + "mail.identity.default.reply_on_top" = 1; + "mail.identity.default.sig_on_reply" = false; + }; + }; + + settings = { + # Some general settings. + "mail.server.default.allow_utf8_accept" = true; + "mail.server.default.max_articles" = 1000; + "mail.server.default.check_all_folders_for_new" = true; + "mail.show_headers" = 1; + + # Show some metadata. + "mailnews.headers.showMessageId" = true; + "mailnews.headers.showOrganization" = true; + "mailnews.headers.showReferences" = true; + "mailnews.headers.showUserAgent" = true; + + # Sort mails and news in descending order. + "mailnews.default_sort_order" = 2; + "mailnews.default_news_sort_order" = 2; + # Sort mails and news by date. + "mailnews.default_sort_type" = 18; + "mailnews.default_news_sort_type" = 18; + + # Sort them by the newest reply in thread. + "mailnews.sort_threads_by_root" = true; + # Show time. + "mail.ui.display.dateformat.default" = 1; + # Sanitize it to UTC to prevent leaking local time. + "mail.sanitize_date_header" = true; + + # Email composing QoL. + "mail.identity.default.auto_quote" = true; + "mail.identity.default.attachPgpKey" = true; + + "app.update.auto" = false; + "privacy.donottrackheader.enabled" = true; }; }; diff --git a/users/myuser/secrets/user.nix.age b/users/myuser/secrets/user.nix.age index 773d9ec..2357a46 100644 Binary files a/users/myuser/secrets/user.nix.age and b/users/myuser/secrets/user.nix.age differ