diff --git a/nixos/modules/services/misc/autobrr.nix b/nixos/modules/services/misc/autobrr.nix index 4694b8e80ed3..c898351c4316 100644 --- a/nixos/modules/services/misc/autobrr.nix +++ b/nixos/modules/services/misc/autobrr.nix @@ -76,7 +76,7 @@ in LoadCredential = "sessionSecret:${cfg.secretFile}"; StateDirectory = "autobrr"; ExecStartPre = "${lib.getExe pkgs.bash} -c '${templaterCmd}'"; - ExecStart = "${lib.getExe pkgs.autobrr} --config %S/autobrr"; + ExecStart = "${lib.getExe cfg.package} --config %S/autobrr"; Restart = "on-failure"; }; };