nix-dotfiles/systems/jeeves-jr/home_assistant.nix

50 lines
1.0 KiB
Nix
Raw Normal View History

2024-08-05 20:45:07 -04:00
{
services.home-assistant = {
enable = true;
openFirewall = true;
config = {
2024-08-11 17:51:26 -04:00
http = {
server_port = 8123;
server_host = [
"192.168.95.35"
"192.168.90.35"
"192.168.98.4"
];
2024-08-12 18:32:17 -04:00
use_x_forwarded_for = true;
trusted_proxies = "172.100.0.4";
2024-08-11 17:51:26 -04:00
};
2024-08-05 20:45:07 -04:00
homeassistant = {
time_zone = "America/New_York";
unit_system = "imperial";
temperature_unit = "F";
};
2024-08-12 18:32:17 -04:00
assist_pipeline = { };
backup = { };
bluetooth = { };
config = { };
dhcp = { };
energy = { };
history = { };
homeassistant_alerts = { };
image_upload = { };
logbook = { };
media_source = { };
mobile_app = { };
ssdp = { };
sun = { };
webhook = { };
zeroconf = { };
2024-08-05 20:45:07 -04:00
};
2024-08-12 18:32:17 -04:00
extraPackages =
python3Packages: with python3Packages; [
psycopg2
gtts
aioesphomeapi
esphome-dashboard-api
bleak-esphome
pymetno
];
extraComponents = [ "isal" ];
2024-08-05 20:45:07 -04:00
};
}