From 5e2119f033fee2e9f7ad30ff965cb1193ad3c095 Mon Sep 17 00:00:00 2001 From: Glib Shpychka <23005347+gshpychka@users.noreply.github.com> Date: Tue, 4 Mar 2025 08:43:39 +0200 Subject: [PATCH] nixos/wyoming-piper: Remove range validation for numerical options (#384315) 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 2ef64c878239..b4029eb631f2 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.