nixos-configs/devices/homie/modules/home-assistant/default.nix
matt1432 a5f7be062b
All checks were successful
Discord / discord commits (push) Has been skipped
feat(hass): turn on speaker automatically when openwakeword is used
2024-09-10 20:55:38 -04:00

53 lines
1.1 KiB
Nix

{...}: {
imports = [
./assist.nix
./bluetooth.nix
./firmware.nix
./frontend.nix
];
# TODO: some components / integrations / addons require manual interaction in the GUI, find way to make it all declarative
services.home-assistant = {
enable = true;
extraComponents = [
"caldav"
"holiday"
"isal"
"led_ble"
"met"
"spotify"
"upnp"
"yamaha_musiccast"
];
config = {
homeassistant = {
name = "Home";
unit_system = "metric";
currency = "CAD";
country = "CA";
time_zone = "America/Montreal";
external_url = "https://homie.nelim.org";
};
# Proxy settings
http = {
server_host = "0.0.0.0";
trusted_proxies = ["100.64.0.8" "100.64.0.9"];
use_x_forwarded_for = true;
};
# `default_config` enables too much stuff. this is what I want from it
config = {};
dhcp = {};
history = {};
image_upload = {};
logbook = {};
mobile_app = {};
my = {};
sun = {};
zeroconf = {};
};
};
}