From 1753e8b61ae3eb33f7a2402202d0fcce115d9da6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 20 Sep 2025 16:49:57 +0200 Subject: [PATCH] nixos/wyoming/piper: fix cudaSupport reference This needs to reference the config attribute set from the package set. Fixes: #444597 --- nixos/modules/services/home-automation/wyoming/piper.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/home-automation/wyoming/piper.nix b/nixos/modules/services/home-automation/wyoming/piper.nix index 250d46c76bbd..c43f7ab1e00f 100644 --- a/nixos/modules/services/home-automation/wyoming/piper.nix +++ b/nixos/modules/services/home-automation/wyoming/piper.nix @@ -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. '';