diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-10 15:27:34 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-10 15:30:26 +0530 |
| commit | 5453d81c88fa9696de74fc8af09d1b75a9f7c8c3 (patch) | |
| tree | 7331d108ec3d009fae4de2f129f7cc1452339d76 | |
| parent | 76151ef2be0768145fa1bc78ad17abbdda1b8ec7 (diff) | |
| download | home-manager-config-5453d81c88fa9696de74fc8af09d1b75a9f7c8c3.tar.gz home-manager-config-5453d81c88fa9696de74fc8af09d1b75a9f7c8c3.zip | |
chore: updated the private email.examle.nix for gmail
| -rw-r--r-- | modules/private/email.example.nix | 10 | ||||
| -rw-r--r-- | modules/programs/neomutt/default.nix | 1 |
2 files changed, 8 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"; }; }; diff --git a/modules/programs/neomutt/default.nix b/modules/programs/neomutt/default.nix index ef57761..940ce9a 100644 --- a/modules/programs/neomutt/default.nix +++ b/modules/programs/neomutt/default.nix @@ -16,6 +16,7 @@ sidebar.enable = true; sort = "reverse-threads"; vimKeys = true; + unmailboxes = true; binds = [ { map = [ |
