mirror of
https://github.com/nix-community/home-manager
synced 2024-08-25 05:26:30 +02:00
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.
10 lines
309 B
Desktop File
10 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
|