Skip to content

Commit 5e2119f

Browse files
authored
nixos/wyoming-piper: Remove range validation for numerical options (#384315)
Remove range validation for numerical options
1 parent 2cc9bbf commit 5e2119f

File tree

1 file changed

+3
-3
lines changed
  • nixos/modules/services/home-automation/wyoming

1 file changed

+3
-3
lines changed

nixos/modules/services/home-automation/wyoming/piper.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ in
7070
};
7171

7272
noiseScale = mkOption {
73-
type = numbers.between 0.0 1.0;
73+
type = float;
7474
default = 0.667;
7575
description = ''
7676
Generator noise value.
@@ -79,7 +79,7 @@ in
7979
};
8080

8181
noiseWidth = mkOption {
82-
type = numbers.between 0.0 1.0;
82+
type = float;
8383
default = 0.333;
8484
description = ''
8585
Phoneme width noise value.
@@ -88,7 +88,7 @@ in
8888
};
8989

9090
lengthScale = mkOption {
91-
type = numbers.between 0.0 1.0;
91+
type = float;
9292
default = 1.0;
9393
description = ''
9494
Phoneme length value.

0 commit comments

Comments
 (0)