diff --git a/hosts/architect/homeassistant.nix b/hosts/architect/homeassistant.nix index 446ef4c..5c4d8f2 100644 --- a/hosts/architect/homeassistant.nix +++ b/hosts/architect/homeassistant.nix @@ -5,10 +5,32 @@ let teslamateURL = "https://tesla.giugl.io"; teslaModel = "Model 3 Long Range"; teslaName = "Lady Giovanna"; + piperPort = 10200; + whisperPort = 10300; in { + services.wyoming = { + faster-whisper = { + servers."home" = { + enable = true; + uri = "tcp://127.0.0.1:${toString whisperPort}"; + model = "large-v3"; + device = "auto"; + language = "en"; + }; + }; + piper = { + servers."home" = { + enable = true; + uri = "tcp://127.0.0.1:${toString piperPort}"; + voice = "en-us-ryan-medium"; + }; + }; + }; + services.home-assistant = { enable = true; + package = pkgs.unstablePkgs.home-assistant; config = { http = { server_host = "127.0.0.1"; @@ -1091,7 +1113,7 @@ in enable = true; listeners = [ { - # address = "127.0.0.1"; + address = "127.0.0.1"; acl = [ "pattern readwrite #" ]; omitPasswordAuth = true; settings.allow_anonymous = true;