add mail sync
This commit is contained in:
parent
c907a3ff4e
commit
536a75247f
1 changed files with 16 additions and 4 deletions
|
@ -26,10 +26,20 @@
|
||||||
create = "maildir";
|
create = "maildir";
|
||||||
};
|
};
|
||||||
folders = {
|
folders = {
|
||||||
drafts = "drafts";
|
drafts = "Drafts";
|
||||||
inbox = "inbox";
|
inbox = "INBOX";
|
||||||
sent = "sent";
|
sent = "Sent";
|
||||||
trash = "trash";
|
trash = "Trash";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services = {
|
||||||
|
imapnotify.enable = true;
|
||||||
|
|
||||||
|
mbsync = {
|
||||||
|
enable = true;
|
||||||
|
frequency = "hourly";
|
||||||
|
postExec = "${pkgs.notmuch}/bin/notmuch new";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -59,6 +69,8 @@
|
||||||
hydroxide
|
hydroxide
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
systemd.user.services."hydroxide" = {
|
systemd.user.services."hydroxide" = {
|
||||||
Unit.Description = "Bridge to ProtonMail";
|
Unit.Description = "Bridge to ProtonMail";
|
||||||
Install.WantedBy = [ "default.target" ];
|
Install.WantedBy = [ "default.target" ];
|
||||||
|
|
Loading…
Reference in a new issue