diff --git a/modules/users/overseer/services/frigate.nix b/modules/users/overseer/services/frigate.nix index ac77e95..834e7d3 100644 --- a/modules/users/overseer/services/frigate.nix +++ b/modules/users/overseer/services/frigate.nix @@ -3,28 +3,24 @@ config, ... }: { - services.go2rtc = { - enable = true; - settings = { - streams = { - wce-0001 = [ - "ffmpeg:#input=-timeout 30000000 -i rtsp://thingino:thingino@192.168.0.173:554/ch0" - "ffmpeg:wce-0001#audio=opus" - ]; - wce-0001_sub = "ffmpeg:#input=-timeout 30000000 -i rtsp://thingino:thingino@192.168.0.173:554/ch1"; - wce-0002 = [ - "ffmpeg:#input=-timeout 30000000 -i rtsp://thingino:thingino@192.168.0.26:554/ch0" - "ffmpeg:wce-0002#audio=opus" - ]; - wce-0002_sub = "ffmpeg:#input=-timeout 30000000 -i rtsp://thingino:thingino@192.168.0.26:554/ch1"; - }; - }; - }; - services.frigate = { enable = true; hostname = "frigate.wanderingcrow.net"; settings = { + go2rtc = { + streams = { + wce-0001 = [ + "ffmpeg:#input=-timeout 30000000 -i rtsp://thingino:thingino@192.168.0.173:554/ch0" + "ffmpeg:wce-0001#audio=opus" + ]; + wce-0001_sub = "ffmpeg:#input=-timeout 30000000 -i rtsp://thingino:thingino@192.168.0.173:554/ch1"; + wce-0002 = [ + "ffmpeg:#input=-timeout 30000000 -i rtsp://thingino:thingino@192.168.0.26:554/ch0" + "ffmpeg:wce-0002#audio=opus" + ]; + wce-0002_sub = "ffmpeg:#input=-timeout 30000000 -i rtsp://thingino:thingino@192.168.0.26:554/ch1"; + }; + }; cameras = { wce-0001 = { ffmpeg = {