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