Revert breaking imapnotify config

This commit is contained in:
Evie Litherland-Smith 2023-09-29 14:55:18 +01:00
parent 187b8f271e
commit 7a38166e5b

View file

@ -40,10 +40,8 @@
enable = true;
boxes = [ "INBOX" ];
onNotify = "${pkgs.isync}/bin/mbsync --pull proton:INBOX";
onNotifyPost = {
mail =
onNotifyPost =
"${pkgs.libnotify}/bin/notify-send 'Proton: New mail arrived'";
};
extraConfig = {
tls = false;
tlsOptions.rejectUnauthorized = false;
@ -80,11 +78,9 @@
enable = true;
boxes = [ "INBOX" ];
onNotify = "${pkgs.isync}/bin/mbsync --pull icloud:INBOX";
onNotifyPost = {
mail =
onNotifyPost =
"${pkgs.libnotify}/bin/notify-send 'Proton: New mail arrived'";
};
};
mbsync = {
enable = true;
create = "both";
@ -119,10 +115,8 @@
enable = true;
boxes = [ "INBOX" ];
onNotify = "${pkgs.isync}/bin/mbsync --pull ukaea:INBOX";
onNotifyPost = {
mail =
onNotifyPost =
"${pkgs.libnotify}/bin/notify-send 'Proton: New mail arrived'";
};
extraConfig = {
tls = false;
tlsOptions.rejectUnauthorized = false;