Merge pull request #264378 from mweinelt/wyoming-openwakeword-relax-model-selection

nixos/wyoming/openwakeword: relax model selection

Changed files
+10 -12
nixos
modules
services
audio
+10 -12
nixos/modules/services/audio/wyoming/openwakeword.nix
···
toString
;
-
models = [
-
# wyoming_openwakeword/models/*.tflite
-
"alexa"
-
"hey_jarvis"
-
"hey_mycroft"
-
"hey_rhasspy"
-
"ok_nabu"
-
];
-
in
{
···
};
models = mkOption {
-
type = listOf (enum models);
-
default = models;
+
type = listOf str;
+
default = [
+
# wyoming_openwakeword/models/*.tflite
+
"alexa"
+
"hey_jarvis"
+
"hey_mycroft"
+
"hey_rhasspy"
+
"ok_nabu"
+
];
description = mdDoc ''
List of wake word models that should be made available.
'';
};
preloadModels = mkOption {
-
type = listOf (enum models);
+
type = listOf str;
default = [
"ok_nabu"
];