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
commitc9f442eb972f1108b3dc38f2f5f3480ab8c4dfb7 (patch)
treea27c8c01024eab0aa751c68f2608349f907fbf10
parentModule: Email: Remove flavor (diff)
downloadnixos-config-c9f442eb972f1108b3dc38f2f5f3480ab8c4dfb7.tar.gz
nixos-config-c9f442eb972f1108b3dc38f2f5f3480ab8c4dfb7.tar.bz2
nixos-config-c9f442eb972f1108b3dc38f2f5f3480ab8c4dfb7.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 = {