From b5f28477aa938cb6099ea6c6444b528caa221037 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 14 Jul 2023 13:43:26 +0000 Subject: [PATCH] nixos/prowlarr: make use of 'lib.getExe' --- nixos/modules/services/misc/prowlarr.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/misc/prowlarr.nix b/nixos/modules/services/misc/prowlarr.nix index cd2c98fc5dfb..836280d3e5fe 100644 --- a/nixos/modules/services/misc/prowlarr.nix +++ b/nixos/modules/services/misc/prowlarr.nix @@ -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"; }; };