nixos/wyoming/piper: fix cudaSupport reference

This needs to reference the config attribute set from the package set.

Fixes: #444597
This commit is contained in:
Martin Weinelt
2025-09-20 16:49:57 +02:00
parent 623f26ac43
commit 1753e8b61a
@@ -103,8 +103,8 @@ in
useCUDA = mkOption {
type = bool;
default = config.cudaSupport;
defaultText = literalExpression "config.cudaSupport";
default = pkgs.config.cudaSupport;
defaultText = literalExpression "pkgs.config.cudaSupport";
description = ''
Whether to accelerate the underlying onnxruntime library with CUDA.
'';