From 7a38166e5bc9af3e518fa046df006d08673fc51f Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 29 Sep 2023 14:55:18 +0100 Subject: [PATCH] Revert breaking imapnotify config --- home/accounts/email.nix | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/home/accounts/email.nix b/home/accounts/email.nix index f8ef5dc1..70d3eb18 100644 --- a/home/accounts/email.nix +++ b/home/accounts/email.nix @@ -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;