Merge pull request #264477 from mweinelt/wyoming-openwakeword-typo

nixos/wyoming/openwakeword: fix typo in attribute name
This commit is contained in:
Martin Weinelt 2023-10-31 00:46:45 +01:00 committed by GitHub
commit 4f36fbeb7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -123,7 +123,7 @@ in
"${cfg.package}/bin/wyoming-openwakeword" "${cfg.package}/bin/wyoming-openwakeword"
"--uri ${cfg.uri}" "--uri ${cfg.uri}"
(concatMapStringsSep " " (model: "--preload-model ${model}") cfg.preloadModels) (concatMapStringsSep " " (model: "--preload-model ${model}") cfg.preloadModels)
(concatMapStringsSep " " (dir: "--custom-model-dir ${toString dir}") cfg.customModelDirectories) (concatMapStringsSep " " (dir: "--custom-model-dir ${toString dir}") cfg.customModelsDirectories)
"--threshold ${cfg.threshold}" "--threshold ${cfg.threshold}"
"--trigger-level ${cfg.triggerLevel}" "--trigger-level ${cfg.triggerLevel}"
"${cfg.extraArgs}" "${cfg.extraArgs}"