about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-27 17:40:52 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-29 13:47:02 +0200
commite6060e95b210f2ca0a619b8c044236d99a5496ea (patch)
tree4709598a4d9d30e334eae37e24d4111aaf95efb6
parentModule: Email: Remove flavor (diff)
downloadnixos-config-e6060e95b210f2ca0a619b8c044236d99a5496ea.tar.gz
nixos-config-e6060e95b210f2ca0a619b8c044236d99a5496ea.tar.bz2
nixos-config-e6060e95b210f2ca0a619b8c044236d99a5496ea.zip
Module: Email: Fix imapnotify command
-rw-r--r--modules/email/default.nix8
1 files 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 = {