mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 13:39:46 +01:00
cdc774f337
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.
9 lines
309 B
Desktop File
9 lines
309 B
Desktop File
[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
|
|
|
|
[Unit]
|
|
ConditionPathExists=/home/hm-user/Mail/hm@example.com/.gmailieer.json
|
|
Description=lieer Gmail synchronization for hm@example.com
|