From 574a566b974e1a1ba2f62c65ffc93b305fe279cc Mon Sep 17 00:00:00 2001 From: ibizaman Date: Tue, 24 Jun 2025 16:34:31 +0200 Subject: [PATCH] fix voice test for home-assistant --- modules/services/home-assistant.nix | 5 ++++- test/services/home-assistant.nix | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/services/home-assistant.nix b/modules/services/home-assistant.nix index c2aafdc..1380929 100644 --- a/modules/services/home-assistant.nix +++ b/modules/services/home-assistant.nix @@ -306,7 +306,10 @@ in services.wyoming.piper.servers = cfg.voice.text-to-speech; services.wyoming.faster-whisper.servers = cfg.voice.speech-to-text; - services.wyoming.openwakeword = cfg.voice.wakeword; + services.wyoming.openwakeword = cfg.voice.wakeword // { + # TODO: remove this when https://github.com/NixOS/nixpkgs/issues/392602 is merged. + package = pkgs.wyoming-openwakeword.override { python3Packages = pkgs.python312Packages; }; + }; services.nginx.virtualHosts."${fqdn}" = { http2 = true; diff --git a/test/services/home-assistant.nix b/test/services/home-assistant.nix index 97ff116..ac32594 100644 --- a/test/services/home-assistant.nix +++ b/test/services/home-assistant.nix @@ -229,7 +229,7 @@ in # }; voice = pkgs.testers.runNixOSTest { - name = "homeassistant_ldap"; + name = "homeassistant_voice"; nodes.server = { imports = [