From d726afd9e45246fe68cfff0af80600ea26bd79fe Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Wed, 1 May 2019 17:02:01 +0200 Subject: [PATCH] imapnotify: specify notmuch configuration path --- modules/services/imapnotify.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/services/imapnotify.nix b/modules/services/imapnotify.nix index 9c77cbd2..fbb0713e 100644 --- a/modules/services/imapnotify.nix +++ b/modules/services/imapnotify.nix @@ -25,6 +25,8 @@ let Service = { ExecStart = "${pkgs.imapnotify}/bin/imapnotify -c ${genAccountConfig account}"; + } // optionalAttrs account.notmuch.enable { + Environment = "NOTMUCH_CONFIG=${config.xdg.configHome}/notmuch/notmuchrc"; }; Install = {