Expand HomeAssistant

This commit is contained in:
Greg Hellings
2024-02-13 15:09:50 -06:00
parent d6caa2be53
commit c50b658b5a
2 changed files with 25 additions and 0 deletions
+22
View File
@@ -17,10 +17,13 @@ in
"eufy"
"lovelace"
"nextcloud"
"piper"
"smart_meter_texas"
"solaredge"
"tplink"
"whisper"
"wiz"
"wyoming"
"zwave_js"
];
}).overrideAttrs (oldAttrs: {
@@ -42,6 +45,25 @@ in
};
};
# Helps with Voice stuff for Home Assistant
services.wyoming = {
faster-whisper.servers = {
greg = {
enable = true;
beamSize = 1; # wut?
device = "auto"; # Could be CPU or CUDA
language = "en";
model = "base-int8";
uri = "tcp://0.0.0.0:13415";
};
};
piper.servers.greg = {
enable = true;
uri = "tcp://0.0.0.0:13416";
voice = "en_US-amy-medium";
};
};
# Although NixOS has a package for Home Assistant, it is not kept as up to date as the container and the upstream
# is very vocal about only supporting their own container or the HAOS deployments. So we deploy the container here
# and avoid any potential messes from that