diff --git a/hosts/home-assistant/default.nix b/hosts/home-assistant/default.nix index 7396f1ce..7ea9915c 100644 --- a/hosts/home-assistant/default.nix +++ b/hosts/home-assistant/default.nix @@ -94,7 +94,7 @@ in "zha" # Zigbee ]; ldap.enable = true; - package = pkgs.home-assistant.override { + package = (pkgs.home-assistant.override { # those tests take a long(er) time and can't be sped up with pytest-xdist packageOverrides = _: prev: let noTests.doCheck = false; @@ -102,7 +102,13 @@ in aws-sam-translator = prev.aws-sam-translator.overridePythonAttrs (_: noTests); moto = prev.moto.overridePythonAttrs (_: noTests); }; - }; + }).overrideAttrs ({ patches ? [ ], ... }: { + patches = patches ++ [ + ../../overlays/home-assistant-no-cloud.diff + ]; + + doInstallCheck = false; + }); }; nginx = { diff --git a/overlays/home-assistant-no-cloud.diff b/overlays/home-assistant-no-cloud.diff new file mode 100644 index 00000000..977d2822 --- /dev/null +++ b/overlays/home-assistant-no-cloud.diff @@ -0,0 +1,10 @@ +--- a/homeassistant/components/default_config/manifest.json 2023-10-22 01:46:48.596580412 +0200 ++++ b/homeassistant/components/default_config/manifest.json 2023-10-22 01:47:01.916784170 +0200 +@@ -7,7 +7,6 @@ + "assist_pipeline", + "automation", + "bluetooth", +- "cloud", + "conversation", + "counter", + "dhcp",