From e6060e95b210f2ca0a619b8c044236d99a5496ea Mon Sep 17 00:00:00 2001 From: Baitinq Date: Tue, 27 Sep 2022 17:40:52 +0200 Subject: Module: Email: Fix imapnotify command --- modules/email/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/email/default.nix b/modules/email/default.nix index c7ebc49..1658843 100644 --- a/modules/email/default.nix +++ b/modules/email/default.nix @@ -46,11 +46,9 @@ imapnotify = { enable = true; boxes = [ "Inbox" ]; - onNotifyPost = { - mail = '' - ${pkgs.libnotify}/bin/notify-send "New mail arrived." - ''; - }; + onNotifyPost = '' + ${pkgs.libnotify}/bin/notify-send "New mail arrived." + ''; }; msmtp.enable = true; mbsync = { -- cgit 1.4.1