fix: strip out autoExtraComponents
This commit is contained in:
@@ -7,7 +7,13 @@ let
|
|||||||
rev = "18dd725c29603f582cf1900e0d25f9f1063dbf11";
|
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;
|
package = pkgs-with-home-assistant.home-assistant;
|
||||||
extraComponents = [
|
extraComponents = [
|
||||||
"mobile_app"
|
"mobile_app"
|
||||||
|
|||||||
Reference in New Issue
Block a user