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

nixos/wyoming/openwakeword: relax model selection
This commit is contained in:
Martin Weinelt 2023-10-30 17:09:22 +01:00 committed by GitHub
commit 1e333439f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,15 +22,6 @@ let
toString
;
models = [
# wyoming_openwakeword/models/*.tflite
"alexa"
"hey_jarvis"
"hey_mycroft"
"hey_rhasspy"
"ok_nabu"
];
in
{
@ -51,15 +42,22 @@ 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"
];