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