lieer: use configured package in service (#2480)

This commit is contained in:
arcnmx 2021-11-16 09:38:36 -08:00 committed by GitHub
parent 05a3116091
commit 42915b78af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,7 @@ let
Service = {
Type = "oneshot";
ExecStart = "${pkgs.gmailieer}/bin/gmi sync";
ExecStart = "${config.programs.lieer.package}/bin/gmi sync";
WorkingDirectory = account.maildir.absPath;
Environment =
"NOTMUCH_CONFIG=${config.xdg.configHome}/notmuch/notmuchrc";