fix: strip out autoExtraComponents

This commit is contained in:
2025-04-29 09:43:07 +02:00
parent a2912ca304
commit dafbdfe3cb

View File

@@ -7,7 +7,13 @@ let
rev = "18dd725c29603f582cf1900e0d25f9f1063dbf11";
}) {};
home-assistant-config = lib.recursiveUpdate config.services.home-assistant {
haOld = config.services.home-assistant;
# 2) If it still has the removed key, drop it:
haClean = if builtins.hasAttr "autoExtraComponents" haOld
then builtins.removeAttrs haOld [ "autoExtraComponents" ]
else haOld;
home-assistant-config = lib.recursiveUpdate haClean {
package = pkgs-with-home-assistant.home-assistant;
extraComponents = [
"mobile_app"