diff --git a/.vscode/settings.json b/.vscode/settings.json index c7bc55b..8f66c9e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -94,6 +94,7 @@ "hexeditor", "hicolor", "hkps", + "homeassistant", "HPKP", "HRDN", "htmlaboutaddons", diff --git a/systems/jeeves-jr/configuration.nix b/systems/jeeves-jr/configuration.nix index efa8bb8..68e1208 100644 --- a/systems/jeeves-jr/configuration.nix +++ b/systems/jeeves-jr/configuration.nix @@ -5,6 +5,7 @@ ../../users/richie/global/zerotier.nix ./arch_mirror.nix ./docker + ./home_assistant.nix ./services.nix ]; diff --git a/systems/jeeves-jr/home_assistant.nix b/systems/jeeves-jr/home_assistant.nix new file mode 100644 index 0000000..bc9e390 --- /dev/null +++ b/systems/jeeves-jr/home_assistant.nix @@ -0,0 +1,16 @@ +{ + services.home-assistant = { + enable = true; + openFirewall = true; + config = { + server_port = 8123; + homeassistant = { + time_zone = "America/New_York"; + unit_system = "imperial"; + temperature_unit = "F"; + longitude = 40.74; + latitude = 74.03; + }; + }; + }; +}