mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
lieer-service: add path to notmuch config (#1704)
This change makes the services created via the lieer module aware of the notmuch config created by the home-mangager notmuch module (which is stored in a non-standard location). Without this change all the lieer services created by the lieer module failed for me, as they were unable to find the notmuch config.
This commit is contained in:
parent
ca7868dc29
commit
cdc774f337
2 changed files with 3 additions and 0 deletions
|
@ -26,6 +26,8 @@ let
|
|||
Type = "oneshot";
|
||||
ExecStart = "${pkgs.gmailieer}/bin/gmi sync";
|
||||
WorkingDirectory = account.maildir.absPath;
|
||||
Environment =
|
||||
"NOTMUCH_CONFIG=${config.xdg.configHome}/notmuch/notmuchrc";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[Service]
|
||||
Environment=NOTMUCH_CONFIG=/home/hm-user/.config/notmuch/notmuchrc
|
||||
ExecStart=@lieer@/bin/gmi sync
|
||||
Type=oneshot
|
||||
WorkingDirectory=/home/hm-user/Mail/hm@example.com
|
||||
|
|
Loading…
Reference in a new issue