aboutsummaryrefslogtreecommitdiffstats
path: root/modules/private
diff options
context:
space:
mode:
Diffstat (limited to 'modules/private')
-rw-r--r--modules/private/email.example.nix14
1 files changed, 13 insertions, 1 deletions
diff --git a/modules/private/email.example.nix b/modules/private/email.example.nix
index 2f48b90..9fc9ee2 100644
--- a/modules/private/email.example.nix
+++ b/modules/private/email.example.nix
@@ -12,6 +12,9 @@
neomutt = {
enable = true;
mailboxType = "maildir";
+ extraConfig = ''
+ mailboxes =Inbox ="[Gmail]/Drafts" ="[Gmail]/Sent Mail" ="[Gmail]/Trash"
+ '';
};
folders = {
@@ -34,10 +37,19 @@
SyncState = "*";
Sync = "All";
CopyArrivalDate = "yes";
+ Expunge = "Both";
};
};
- notmuch.enable = true;
+ notmuch = {
+ enable = true;
+ neomutt.virtualMailboxes = [
+ {
+ name = "All Mail";
+ query = "folder:example/Inbox or folder:\"example/[Gmail]/Sent Mail\"";
+ }
+ ];
+ };
};
};
}