nixos/picom: use lib.getExe

Co-authored-by: Jian Lin <75130626+jian-lin@users.noreply.github.com>
This commit is contained in:
Ilan Joselevich 2023-08-14 11:19:41 +03:00 committed by GitHub
parent 94a3092895
commit e0fad0515b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -303,7 +303,7 @@ in {
};
serviceConfig = {
ExecStart = "${cfg.package}/bin/picom --config ${configFile}";
ExecStart = "${getExe cfg.package} --config ${configFile}";
RestartSec = 3;
Restart = "always";
};