From 005a822cc75e6038b0f2c370035e18e39de1635a Mon Sep 17 00:00:00 2001 From: Glib Shpychka <23005347+gshpychka@users.noreply.github.com> Date: Sat, 22 Feb 2025 21:17:40 +0200 Subject: [PATCH] Remove range validation for numerical options --- nixos/modules/services/home-automation/wyoming/piper.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/modules/services/home-automation/wyoming/piper.nix b/nixos/modules/services/home-automation/wyoming/piper.nix index 2ef64c87823997..b4029eb631f27d 100644 --- a/nixos/modules/services/home-automation/wyoming/piper.nix +++ b/nixos/modules/services/home-automation/wyoming/piper.nix @@ -70,7 +70,7 @@ in }; noiseScale = mkOption { - type = numbers.between 0.0 1.0; + type = float; default = 0.667; description = '' Generator noise value. @@ -79,7 +79,7 @@ in }; noiseWidth = mkOption { - type = numbers.between 0.0 1.0; + type = float; default = 0.333; description = '' Phoneme width noise value. @@ -88,7 +88,7 @@ in }; lengthScale = mkOption { - type = numbers.between 0.0 1.0; + type = float; default = 1.0; description = '' Phoneme length value.