From 6ec9a0c4e5f815c9dea9471c8fa2734385b43242 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Mon, 11 Aug 2025 00:35:49 +0200 Subject: [PATCH] chore(morty): rework mail configuration --- hosts/morty/home-config.nix | 7 ++++--- modules/home-manager/accounts/email/default.nix | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/hosts/morty/home-config.nix b/hosts/morty/home-config.nix index 17453be..ed063e5 100644 --- a/hosts/morty/home-config.nix +++ b/hosts/morty/home-config.nix @@ -3,10 +3,11 @@ email = { enable = true; accountConfigs = { - ubordeaux = inputs.nix-private.mail.ubordeaux; - xiemeart = inputs.nix-private.mail.xiemeart; + a = inputs.nix-private.mail.xiemeart; + b = inputs.nix-private.mail.ephase; + c = inputs.nix-private.mail.ubordeaux; }; - primary = "xiemeart"; + primary = "a"; }; application = { gnupg = { diff --git a/modules/home-manager/accounts/email/default.nix b/modules/home-manager/accounts/email/default.nix index d9c1152..0f9b089 100644 --- a/modules/home-manager/accounts/email/default.nix +++ b/modules/home-manager/accounts/email/default.nix @@ -117,7 +117,7 @@ in mbox_type = "Maildir"; header_color_partial = "yes"; duplicate_threads = "yes"; - index_format = "'%4C| %24.24?GS?%F %GS &%F? %?GD?%GD &%?GR?%GR &%?GU?%GU & ???%?GA?%GA & ?%?GE?%GE & ?%?M?󰘕 %s&%s? %* %?g?  %g? %<[y?%<[m?%<[d?%9[%H:%M ]&%9[%a %d ]>&%9[%b %d ]>&%9[%m/%y ]>'"; + index_format = "'%4C| %24.24?GS?%F %GS &%F? %?GR?%GR &%?GU?%GU & ??%?GA?%GA & ?%?GE?%GE & ?%?M?󰘕 %s&%s? %* %?g?  %g? %<[y?%<[m?%<[d?%9[%H:%M ]&%9[%a %d ]>&%9[%b %d ]>&%9[%m/%y ]>'"; sort_aux = "last-date-sent"; mail_check = "120"; hidden_tags = "inbox,unread,draft,flagged,passed,replied,signed,encrypted,attachment,sent"; @@ -193,7 +193,7 @@ in { map = [ "index" ]; key = "\\Cy"; action = "previous-line";} # Reply - { map =[ "pager" "index" ];gkey = "R"; action = "group-reply";} + { map =[ "pager" "index" ]; key = "R"; action = "group-reply";} # sidebar { map = [ "index" "pager" ]; key = ""; action = "sidebar-toggle-visible";}