From 5453d81c88fa9696de74fc8af09d1b75a9f7c8c3 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Fri, 10 Jul 2026 15:27:34 +0530 Subject: chore: updated the private email.examle.nix for gmail --- modules/private/email.example.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'modules/private') 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"; }; }; -- cgit v1.2.3