diff --git a/.vscode/settings.json b/.vscode/settings.json index 3a9da2d..a48e31a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,6 +3,7 @@ "aboutwelcome", "acltype", "ahci", + "aioesphomeapi", "alsa", "archlinux", "ashift", @@ -49,6 +50,7 @@ "endlessh", "errorlens", "esbenp", + "esphome", "extest", "fastforwardteam", "FASTFOX", @@ -68,12 +70,14 @@ "ghdeploy", "globalprivacycontrol", "gparted", + "gtts", "healthreport", "Heatsink", "hediet", "hexeditor", "hicolor", "hmac", + "homeassistant", "HPKP", "htmlaboutaddons", "hurlenko", @@ -81,6 +85,7 @@ "INITDB", "iocharset", "iperf", + "isal", "jnoortheen", "jsbc", "kuma", @@ -146,10 +151,12 @@ "prowlarr", "proxychains", "prusa", + "psycopg", "PUID", "pulseaudio", "punycode", "pylance", + "pymetno", "qbit", "qbittorrent", "qbittorrentvpn", @@ -182,6 +189,7 @@ "sonarr", "sponsorblock", "sqltools", + "ssdp", "stdenv", "subresource", "substituters", @@ -220,6 +228,7 @@ "yubikey", "yubioath", "yzhang", + "zeroconf", "zerotier", "zerotierone", "zoxide", diff --git a/systems/jeeves/default.nix b/systems/jeeves/default.nix index eb43347..b6abff4 100644 --- a/systems/jeeves/default.nix +++ b/systems/jeeves/default.nix @@ -13,6 +13,7 @@ in ./arch_mirror.nix ./docker ./hardware.nix + ./home_assistant.nix ./networking.nix ./programs.nix ./services.nix diff --git a/systems/jeeves/home_assistant.nix b/systems/jeeves/home_assistant.nix new file mode 100644 index 0000000..ae65b09 --- /dev/null +++ b/systems/jeeves/home_assistant.nix @@ -0,0 +1,49 @@ +{ + services.home-assistant = { + enable = true; + openFirewall = true; + config = { + http = { + server_port = 8123; + server_host = [ + "192.168.95.14" + "192.168.90.40" + "192.168.98.4" + ]; + use_x_forwarded_for = true; + trusted_proxies = "172.100.0.4"; + }; + homeassistant = { + time_zone = "America/New_York"; + unit_system = "imperial"; + temperature_unit = "F"; + }; + assist_pipeline = { }; + backup = { }; + bluetooth = { }; + config = { }; + dhcp = { }; + energy = { }; + history = { }; + homeassistant_alerts = { }; + image_upload = { }; + logbook = { }; + media_source = { }; + mobile_app = { }; + ssdp = { }; + sun = { }; + webhook = { }; + zeroconf = { }; + }; + extraPackages = + python3Packages: with python3Packages; [ + psycopg2 + gtts + aioesphomeapi + esphome-dashboard-api + bleak-esphome + pymetno + ]; + extraComponents = [ "isal" ]; + }; +}