nixos/cdemu: use lib.getExe

This commit is contained in:
Robert Schütz 2024-09-18 14:17:11 -07:00
parent b798dd7d72
commit 5e89ea3d30

View File

@ -60,7 +60,7 @@ in {
systemd.user.services.cdemu-daemon.serviceConfig = {
Type = "dbus";
BusName = "net.sf.cdemu.CDEmuDaemon";
ExecStart = "${pkgs.cdemu-daemon}/bin/cdemu-daemon --config-file \"%h/.config/cdemu-daemon\"";
ExecStart = "${lib.getExe pkgs.cdemu-daemon} --config-file \"%h/.config/cdemu-daemon\"";
Restart = "no";
};