From 613f28720570c8f08489d4fa8e667e5ffa3eb0e5 Mon Sep 17 00:00:00 2001 From: aottr Date: Wed, 21 Jan 2026 04:28:57 +0100 Subject: [PATCH] feat: add custom_components bind --- modules/nixos/server/home-assistant.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/nixos/server/home-assistant.nix b/modules/nixos/server/home-assistant.nix index cc772f5..c144cb4 100644 --- a/modules/nixos/server/home-assistant.nix +++ b/modules/nixos/server/home-assistant.nix @@ -4,7 +4,10 @@ virtualisation.oci-containers = { backend = "podman"; containers.homeassistant = { - volumes = [ "home-assistant:/config" ]; + volumes = [ + "home-assistant:/config" + "/var/lib/homeassistant/custom_components:/config/custom_components" + ]; environment.TZ = "Europe/Paris"; # Note: The image will not be updated on rebuilds, unless the version label changes image = "ghcr.io/home-assistant/home-assistant:2026.1.2"; -- 2.51.2