fix(home_assistant): update firewall settings and remove redundant http server port
treefmt / nix fmt (pull_request) Successful in 6s
build_systems / build-brain (pull_request) Failing after 31s
pytest / pytest (pull_request) Successful in 29s
test ebook search / test-ebook-search (pull_request) Successful in 35s
build_systems / build-bob (pull_request) Successful in 48s
build_systems / build-rhapsody-in-green (pull_request) Successful in 1m2s
build_systems / build-jeeves (pull_request) Successful in 2m32s

This commit is contained in:
2026-08-18 21:24:18 -04:00
parent b48f5da6c8
commit 107b4f24d1
+2 -2
View File
@@ -1,5 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
networking.firewall.allowedTCPPorts = [ 8123 ];
users = { users = {
users.hass = { users.hass = {
isSystemUser = true; isSystemUser = true;
@@ -11,9 +13,7 @@
services = { services = {
home-assistant = { home-assistant = {
enable = true; enable = true;
openFirewall = true;
config = { config = {
http.server_port = 8123;
homeassistant = { homeassistant = {
time_zone = "America/New_York"; time_zone = "America/New_York";
unit_system = "us_customary"; unit_system = "us_customary";