From c068aafa03fe11cb59f6f3e811beaa076e84ff99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 8 May 2026 00:29:45 +0200 Subject: [PATCH] nixos/home-assistant: add go2rtc to path when it is required --- nixos/modules/services/home-automation/home-assistant.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/home-automation/home-assistant.nix b/nixos/modules/services/home-automation/home-assistant.nix index 58443428c73a..34624c3f8b2d 100644 --- a/nixos/modules/services/home-automation/home-assistant.nix +++ b/nixos/modules/services/home-automation/home-assistant.nix @@ -1045,7 +1045,8 @@ in }; path = with pkgs; - lib.optionals (useComponent "picotts") [ pkgs.picotts ] + lib.optionals (useComponent "go2rtc") [ pkgs.go2rtc ] + ++ lib.optionals (useComponent "picotts") [ pkgs.picotts ] ++ lib.optionals (any useComponent componentsUsingPing) [ unixtools.ping ]; };