Tweak email config
This commit is contained in:
parent
7c7d34d19b
commit
550d1b10c7
|
@ -71,8 +71,11 @@ with lib; {
|
||||||
};
|
};
|
||||||
mbsync = {
|
mbsync = {
|
||||||
enable = true;
|
enable = true;
|
||||||
create = "maildir";
|
create = "both";
|
||||||
remove = "both";
|
remove = "both";
|
||||||
|
expunge = "both";
|
||||||
|
patterns =
|
||||||
|
[ "INBOX" "Folders/*" "Sent" "Drafts" "Spam" "Trash" "Archive" ];
|
||||||
};
|
};
|
||||||
msmtp = { enable = true; };
|
msmtp = { enable = true; };
|
||||||
};
|
};
|
||||||
|
@ -84,7 +87,7 @@ with lib; {
|
||||||
programs.mbsync = { enable = true; };
|
programs.mbsync = { enable = true; };
|
||||||
services.mbsync = {
|
services.mbsync = {
|
||||||
enable = true;
|
enable = true;
|
||||||
frequency = "*:0/1";
|
frequency = "*:0/5";
|
||||||
# Index manually with mu if we don't have emacs setup, but if we have the emacs service setup,
|
# Index manually with mu if we don't have emacs setup, but if we have the emacs service setup,
|
||||||
# run through emacsclient, as it will have the lock
|
# run through emacsclient, as it will have the lock
|
||||||
postExec = if config.nathan.programs.emacs.service then
|
postExec = if config.nathan.programs.emacs.service then
|
||||||
|
|
Loading…
Reference in New Issue