nixos/prowlarr: make use of 'lib.getExe'

This commit is contained in:
Bruno BELANYI 2023-07-14 13:43:26 +00:00
parent b17ee5fe40
commit b5f28477aa

View file

@ -31,7 +31,7 @@ in
Type = "simple";
DynamicUser = true;
StateDirectory = "prowlarr";
ExecStart = "${cfg.package}/bin/Prowlarr -nobrowser -data=/var/lib/prowlarr";
ExecStart = "${lib.getExe cfg.package} -nobrowser -data=/var/lib/prowlarr";
Restart = "on-failure";
};
};