Loading nixos/modules/services/home-automation/wyoming/piper.nix +13 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ let cfg = config.services.wyoming.piper; inherit (lib) literalExpression mkOption mkEnableOption mkPackageOption Loading Loading @@ -100,6 +101,15 @@ in default = true; }; useCUDA = mkOption { type = bool; default = config.cudaSupport; defaultText = literalExpression "config.cudaSupport"; description = '' Whether to accelerate the underlying onnxruntime library with CUDA. ''; }; extraArgs = mkOption { type = listOf str; default = [ ]; Loading Loading @@ -165,6 +175,9 @@ in ++ lib.optionals options.streaming [ "--streaming" ] ++ lib.optionals options.cuda [ "--use-cuda" ] ++ options.extraArgs ); CapabilityBoundingSet = ""; Loading Loading
nixos/modules/services/home-automation/wyoming/piper.nix +13 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ let cfg = config.services.wyoming.piper; inherit (lib) literalExpression mkOption mkEnableOption mkPackageOption Loading Loading @@ -100,6 +101,15 @@ in default = true; }; useCUDA = mkOption { type = bool; default = config.cudaSupport; defaultText = literalExpression "config.cudaSupport"; description = '' Whether to accelerate the underlying onnxruntime library with CUDA. ''; }; extraArgs = mkOption { type = listOf str; default = [ ]; Loading Loading @@ -165,6 +175,9 @@ in ++ lib.optionals options.streaming [ "--streaming" ] ++ lib.optionals options.cuda [ "--use-cuda" ] ++ options.extraArgs ); CapabilityBoundingSet = ""; Loading