imapnotify: specify notmuch configuration path

This commit is contained in:
Robert Helgesson 2019-05-01 17:02:01 +02:00
parent 1480a6ca14
commit d726afd9e4
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -25,6 +25,8 @@ let
Service = { Service = {
ExecStart = "${pkgs.imapnotify}/bin/imapnotify -c ${genAccountConfig account}"; ExecStart = "${pkgs.imapnotify}/bin/imapnotify -c ${genAccountConfig account}";
} // optionalAttrs account.notmuch.enable {
Environment = "NOTMUCH_CONFIG=${config.xdg.configHome}/notmuch/notmuchrc";
}; };
Install = { Install = {