feat(homeassistant.nix): add Wyoming services and update Home Assistant package
This commit is contained in:
parent
1206a18e22
commit
bd4c7e80d5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user