diff --git a/nixng/containers/home-assistant/home-assistant.nix b/nixng/containers/home-assistant/home-assistant.nix index 7e57cd7..4bfb5eb 100644 --- a/nixng/containers/home-assistant/home-assistant.nix +++ b/nixng/containers/home-assistant/home-assistant.nix @@ -35,7 +35,13 @@ makeSystem { services.home-assistant = { enable = true; envsubst = true; - customComponents = {}; + customComponents = { + pyscript = pkgs.fetchzip { + url = "https://github.com/custom-components/pyscript/releases/download/1.4.0/hass-custom-pyscript.zip"; + hash = "sha256-MpFnBqJ9PTbXnvwRbbEhfuv1q6mQ5jY1kEbhP6FFwvk="; + stripRoot = false; + }; + }; config = { default_config = {}; recorder = { @@ -125,6 +131,7 @@ makeSystem { bleak-retry-connector psutil-home-assistant bluetooth-auto-recovery + croniter ]; }; };