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";
|
||||
};
|
||||
folders = {
|
||||
drafts = "drafts";
|
||||
inbox = "inbox";
|
||||
sent = "sent";
|
||||
trash = "trash";
|
||||
drafts = "Drafts";
|
||||
inbox = "INBOX";
|
||||
sent = "Sent";
|
||||
trash = "Trash";
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
imapnotify.enable = true;
|
||||
|
||||
mbsync = {
|
||||
enable = true;
|
||||
frequency = "hourly";
|
||||
postExec = "${pkgs.notmuch}/bin/notmuch new";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -59,6 +69,8 @@
|
|||
hydroxide
|
||||
];
|
||||
|
||||
|
||||
|
||||
systemd.user.services."hydroxide" = {
|
||||
Unit.Description = "Bridge to ProtonMail";
|
||||
Install.WantedBy = [ "default.target" ];
|
||||
|
|
Loading…
Reference in a new issue