about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-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 = {