nixos/tts: fix handling of extraArgs

This commit is contained in:
Jean-Baptiste Giraudeau
2024-12-20 10:38:22 +01:00
committed by Jörg Thalheim
parent 4cc13ba7c8
commit 7ebb6132f4

View File

@@ -126,7 +126,7 @@ in
"${pkgs.tts}/bin/tts-server --port ${toString options.port} "
+ optionalString (options.model != null) "--model_name ${options.model} "
+ optionalString (options.useCuda) "--use_cuda "
+ (concatMapStringsSep " " escapeShellArgs options.extraArgs);
+ (escapeShellArgs options.extraArgs);
CapabilityBoundingSet = "";
DeviceAllow =
if options.useCuda then