fix(mail): use email address suffix in inbox folder

This commit is contained in:
Yorick Barbanneau 2025-08-11 00:08:50 +02:00
parent fab0ec3696
commit 30ebf1e5d0

View file

@ -98,8 +98,8 @@ in
key = "<F${(toString (i + 1))}>";
}) (
lib.attrsets.mapAttrsToList (
n: _:
{ "action" = "<sync-mailbox><refresh><enter-command>source ~/.config/neomutt/${n}<enter><change-folder>=Inbox<enter><change-vfolder>Unread<enter>";}
n: c:
{ "action" = "<sync-mailbox><refresh><enter-command>source ~/.config/neomutt/${n}<enter><change-vfolder>Unread:${c.config.address}<enter>";}
) cfg.accountConfigs);
in {
enable = true;