fix: also remove applyDefaultConfig
This commit is contained in:
@@ -8,10 +8,7 @@ let
|
|||||||
}) {};
|
}) {};
|
||||||
|
|
||||||
haOld = config.services.home-assistant;
|
haOld = config.services.home-assistant;
|
||||||
# 2) If it still has the removed key, drop it:
|
haClean = builtins.removeAttrs haOld [ "autoExtraComponents" "applyDefaultConfig" ];
|
||||||
haClean = if builtins.hasAttr "autoExtraComponents" haOld
|
|
||||||
then builtins.removeAttrs haOld [ "autoExtraComponents" ]
|
|
||||||
else haOld;
|
|
||||||
|
|
||||||
home-assistant-config = lib.recursiveUpdate haClean {
|
home-assistant-config = lib.recursiveUpdate haClean {
|
||||||
package = pkgs-with-home-assistant.home-assistant;
|
package = pkgs-with-home-assistant.home-assistant;
|
||||||
|
|||||||
Reference in New Issue
Block a user