diff options
Diffstat (limited to 'modules/private')
| -rw-r--r-- | modules/private/email.example.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/private/email.example.nix b/modules/private/email.example.nix index 2347489..d816b32 100644 --- a/modules/private/email.example.nix +++ b/modules/private/email.example.nix @@ -11,19 +11,23 @@ primary = true; neomutt.enable = true; + neomutt.extraConfig = '' + mailboxes "+Inbox" "+[Gmail]/Drafts" "+[Gmail]/Spam" "+[Gmail]/Trash" + ''; + mbsync = { enable = true; create = "maildir"; patterns = [ - "INBOX" - "\"[Gmail]/All Mail\"" - "\"[Gmail]/Sent Mail\"" + "Inbox" "\"[Gmail]/Drafts\"" "\"[Gmail]/Spam\"" "\"[Gmail]/Trash\"" ]; extraConfig.channel = { SyncState = "*"; + Sync = "All"; + CopyArrivalDate = "yes"; }; }; |
