about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-27 17:16:52 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-29 13:47:01 +0200
commit4877943debf14193be01eb3aad9676fbba64cce3 (patch)
treec9bf67eacf987385425db39037532912a593b54f /modules
parentModule: Email: Mutt: Add extraConfig (diff)
downloadnixos-config-4877943debf14193be01eb3aad9676fbba64cce3.tar.gz
nixos-config-4877943debf14193be01eb3aad9676fbba64cce3.tar.bz2
nixos-config-4877943debf14193be01eb3aad9676fbba64cce3.zip
Module: Email: Remove notmuch
Diffstat (limited to 'modules')
-rw-r--r--modules/email/default.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/modules/email/default.nix b/modules/email/default.nix
index d79e88a..daf18c2 100644
--- a/modules/email/default.nix
+++ b/modules/email/default.nix
@@ -1,17 +1,13 @@
 { config, pkgs, lib, secrets, ... }:
 {
   services = {
-    mbsync = {
-      enable = true;
-      postExec = "${pkgs.notmuch}/bin/notmuch new";
-    };
+    mbsync.enable = true;
     imapnotify.enable = true;
   };
 
   programs = {
     mbsync.enable = true;
     msmtp.enable = true;
-    notmuch.enable = true;
     neomutt = {
       enable = true;
       sidebar.enable = true;
@@ -43,12 +39,11 @@
           boxes = [ "Inbox" ];
           onNotifyPost = {
             mail = ''
-              ${pkgs.notmuch}/bin/notmuch new && ${pkgs.libnotify}/bin/notify-send "New mail arrived."
+              ${pkgs.libnotify}/bin/notify-send "New mail arrived."
             '';
           };
         };
         msmtp.enable = true;
-        notmuch.enable = true;
         mbsync = {
           enable = true;
           create = "both";