Expand HomeAssistant
This commit is contained in:
@@ -31,4 +31,7 @@
|
|||||||
#};
|
#};
|
||||||
|
|
||||||
networking.hostName = "genesis"; # Define your hostname.
|
networking.hostName = "genesis"; # Define your hostname.
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
awscli2
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,10 +17,13 @@ in
|
|||||||
"eufy"
|
"eufy"
|
||||||
"lovelace"
|
"lovelace"
|
||||||
"nextcloud"
|
"nextcloud"
|
||||||
|
"piper"
|
||||||
"smart_meter_texas"
|
"smart_meter_texas"
|
||||||
"solaredge"
|
"solaredge"
|
||||||
"tplink"
|
"tplink"
|
||||||
|
"whisper"
|
||||||
"wiz"
|
"wiz"
|
||||||
|
"wyoming"
|
||||||
"zwave_js"
|
"zwave_js"
|
||||||
];
|
];
|
||||||
}).overrideAttrs (oldAttrs: {
|
}).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
|
# 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
|
# 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
|
# and avoid any potential messes from that
|
||||||
|
|||||||
Reference in New Issue
Block a user