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";
|
teslamateURL = "https://tesla.giugl.io";
|
||||||
teslaModel = "Model 3 Long Range";
|
teslaModel = "Model 3 Long Range";
|
||||||
teslaName = "Lady Giovanna";
|
teslaName = "Lady Giovanna";
|
||||||
|
piperPort = 10200;
|
||||||
|
whisperPort = 10300;
|
||||||
in
|
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 = {
|
services.home-assistant = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.unstablePkgs.home-assistant;
|
||||||
config = {
|
config = {
|
||||||
http = {
|
http = {
|
||||||
server_host = "127.0.0.1";
|
server_host = "127.0.0.1";
|
||||||
@ -1091,7 +1113,7 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
listeners = [
|
listeners = [
|
||||||
{
|
{
|
||||||
# address = "127.0.0.1";
|
address = "127.0.0.1";
|
||||||
acl = [ "pattern readwrite #" ];
|
acl = [ "pattern readwrite #" ];
|
||||||
omitPasswordAuth = true;
|
omitPasswordAuth = true;
|
||||||
settings.allow_anonymous = true;
|
settings.allow_anonymous = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user