use new config schema for frigate 0.15.0

This commit is contained in:
TheWanderingCrow 2025-03-06 10:18:38 -05:00
parent 7a710d1319
commit 24845a1087

View file

@ -4,26 +4,24 @@
...
}:
lib.mkIf config.user.overseer.enable {
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 = {
detect.enabled = false;