diff --git a/nixos/systems/tewi/home-assistant.nix b/nixos/systems/tewi/home-assistant.nix index e19f7707..5d426ad9 100644 --- a/nixos/systems/tewi/home-assistant.nix +++ b/nixos/systems/tewi/home-assistant.nix @@ -1,4 +1,6 @@ -{ config, lib, tf, ... }: { +{ config, lib, tf, ... }: let + inherit (lib.attrsets) attrNames filterAttrs; +in { # MDNS services.avahi.enable = true; @@ -180,7 +182,7 @@ port = 21063; ip_address = "10.1.1.38"; filter = let - inherit (config.services.host-assistant.config) google_assistant; + inherit (config.services.home-assistant.config) google_assistant; in { include_domains = google_assistant.exposed_domains; include_entities = attrNames (filterAttrs (_: entity: entity.expose or true) google_assistant.entity_config); diff --git a/tf b/tf index 426f3bb0..6cf9c879 160000 --- a/tf +++ b/tf @@ -1 +1 @@ -Subproject commit 426f3bb0ceaf3fc1495ebe14f90697aaab19e1aa +Subproject commit 6cf9c879c18a5b8aac7c4ee2489e72f949e99311