From 15b30a530bf9b2ddf443717879bd0eb140ec7762 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sun, 26 Jan 2025 14:04:27 +0200 Subject: [PATCH] fix roles again --- hosts/fwminex/configuration.nix | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix index c847c73..8477cf6 100644 --- a/hosts/fwminex/configuration.nix +++ b/hosts/fwminex/configuration.nix @@ -406,17 +406,6 @@ in path = "rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=1&subtype=1"; roles = [ "detect" ]; } - { - path = "rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=1&subtype=0"; - roles = [ - "audio" - "record" - ]; - } - { - path = "rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=1&subtype=1"; - roles = [ "detect" ]; - } ]; }; }; @@ -430,7 +419,14 @@ in inputs = [ { path = "rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=2&subtype=0"; - roles = [ "record" ]; + roles = [ + "audio" + "record" + ]; + } + { + path = "rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=2&subtype=1"; + roles = [ "detect" ]; } ]; };