fix: also remove applyDefaultConfig
This commit is contained in:
parent
dafbdfe3cb
commit
e44876445a
1 changed files with 1 additions and 4 deletions
|
|
@ -8,10 +8,7 @@ let
|
|||
}) {};
|
||||
|
||||
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;
|
||||
haClean = builtins.removeAttrs haOld [ "autoExtraComponents" "applyDefaultConfig" ];
|
||||
|
||||
home-assistant-config = lib.recursiveUpdate haClean {
|
||||
package = pkgs-with-home-assistant.home-assistant;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue