Add nix to goimapnotify user service path

This commit is contained in:
coolneng 2022-06-23 22:47:40 +02:00
parent 9d6aeafe92
commit eaa60c2149
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 1 deletions

View File

@ -56,7 +56,8 @@ in {
systemd.user.services.goimapnotify-ugent = { systemd.user.services.goimapnotify-ugent = {
description = "Sync UGent mail using IMAP IDLE"; description = "Sync UGent mail using IMAP IDLE";
wantedBy = [ "default.target" ]; wantedBy = [ "default.target" ];
path = [ goimapnotify pass-wayland isync-oauth2 notmuch python39 gnupg ]; path =
[ goimapnotify pass-wayland isync-oauth2 notmuch python39 gnupg nix ];
script = '' script = ''
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/ugent.conf ${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/ugent.conf
''; '';