commit 36ab65f7e0547d96fce87c41216e68b619af2c6e
parent cafdefb7e183eae9cc16845e71cc83140e690ca9
Author: Peter <peter@minskio.co.uk>
Date: Fri, 13 Nov 2026 18:56:58 +0000
Add barebones HA setup
Equipment arriving shortly
Diffstat:
3 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/common/home-assistant.nix b/common/home-assistant.nix
@@ -0,0 +1,24 @@
+{ vars, ... }:
+{
+
+ services.home-assistant = {
+ enable = true;
+ config = {
+ homeassistant = {
+ name = "Home";
+ time_zone = "Europe/London";
+ unit_system = "metric";
+ };
+
+ http = {
+ use_x_forwarded_for = true;
+ trusted_proxies = [ "127.0.0.1" ];
+ };
+
+ default_config = {};
+ };
+
+ extraComponents = [ "tplink" ];
+ };
+
+}
diff --git a/common/traefik-ilias.nix b/common/traefik-ilias.nix
@@ -12,6 +12,7 @@ let
pub = { host = "127.0.0.1"; port = 9091; };
stream = { host = "127.0.0.1"; port = 8080; };
weight = { host = "127.0.0.1"; port = 9090; };
+ ha = { host = "127.0.0.1"; port = 8123; };
};
domain = "home.${vars.user.domain}";
diff --git a/machines/ilias.nix b/machines/ilias.nix
@@ -13,6 +13,7 @@
../common/flakes.nix
../common/garbage.nix
../common/gnocchi.nix
+ ../common/home-assistant.nix
../common/home-manager.nix
../common/jocalsend.nix
../common/limoncello.nix