From 4877943debf14193be01eb3aad9676fbba64cce3 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Tue, 27 Sep 2022 17:16:52 +0200 Subject: Module: Email: Remove notmuch --- modules/email/default.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'modules') 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"; -- cgit 1.4.1