From e44876445aaf089895e4928aa2bec5341a58b50c Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Tue, 29 Apr 2025 09:45:49 +0200 Subject: [PATCH] fix: also remove applyDefaultConfig --- modules/cloonar-assistant/home-assistant/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/cloonar-assistant/home-assistant/default.nix b/modules/cloonar-assistant/home-assistant/default.nix index 9adf035..8cf09fb 100644 --- a/modules/cloonar-assistant/home-assistant/default.nix +++ b/modules/cloonar-assistant/home-assistant/default.nix @@ -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;