This commit is contained in:
Bryan Ramos 2026-03-12 04:26:52 -04:00
parent e4e5ac629c
commit 350423d449
2 changed files with 57 additions and 56 deletions

View file

@ -19,20 +19,20 @@ in
settings = { settings = {
mqtt.enabled = false; mqtt.enabled = false;
cameras = { cameras = {
"doorbell" = { # "doorbell" = {
ffmpeg = { # ffmpeg = {
inputs = [ # inputs = [
{ # {
path = "rtsp://admin:ocu?u3Su@192.168.0.134/cam/realmonitor?channel=1&subtype=0"; # path = "rtsp://admin:ocu?u3Su@192.168.0.134/cam/realmonitor?channel=1&subtype=0";
roles = [ "record" ]; # roles = [ "record" ];
} # }
{ # {
path = "rtsp://admin:ocu?u3Su@192.168.0.134/cam/realmonitor?channel=1&subtype=1"; # path = "rtsp://admin:ocu?u3Su@192.168.0.134/cam/realmonitor?channel=1&subtype=1";
roles = [ "detect" ]; # roles = [ "detect" ];
} # }
]; # ];
}; # };
}; # };
"living_room" = { "living_room" = {
ffmpeg = { ffmpeg = {
inputs = [ inputs = [
@ -47,48 +47,48 @@ in
]; ];
}; };
}; };
"kitchen" = { # "kitchen" = {
ffmpeg = { # ffmpeg = {
inputs = [ # inputs = [
{ # {
path = "rtsp://admin:ocu?u3Su@192.168.0.181/cam/realmonitor?channel=2&subtype=0"; # path = "rtsp://admin:ocu?u3Su@192.168.0.181/cam/realmonitor?channel=2&subtype=0";
roles = [ "record" ]; # roles = [ "record" ];
} # }
{ # {
path = "rtsp://admin:ocu?u3Su@192.168.0.181/cam/realmonitor?channel=2&subtype=1"; # path = "rtsp://admin:ocu?u3Su@192.168.0.181/cam/realmonitor?channel=2&subtype=1";
roles = [ "detect" ]; # roles = [ "detect" ];
} # }
]; # ];
}; # };
}; # };
"parking_lot" = { # "parking_lot" = {
ffmpeg = { # ffmpeg = {
inputs = [ # inputs = [
{ # {
path = "rtsp://admin:ocu?u3Su@192.168.0.59/cam/realmonitor?channel=1&subtype=0"; # path = "rtsp://admin:ocu?u3Su@192.168.0.59/cam/realmonitor?channel=1&subtype=0";
roles = [ "record" ]; # roles = [ "record" ];
} # }
{ # {
path = "rtsp://admin:ocu?u3Su@192.168.0.59/cam/realmonitor?channel=1&subtype=1"; # path = "rtsp://admin:ocu?u3Su@192.168.0.59/cam/realmonitor?channel=1&subtype=1";
roles = [ "detect" ]; # roles = [ "detect" ];
} # }
]; # ];
}; # };
}; # };
"porch" = { # "porch" = {
ffmpeg = { # ffmpeg = {
inputs = [ # inputs = [
{ # {
path = "rtsp://admin:ocu?u3Su@192.168.0.43/cam/realmonitor?channel=1&subtype=0"; # path = "rtsp://admin:ocu?u3Su@192.168.0.43/cam/realmonitor?channel=1&subtype=0";
roles = [ "record" ]; # roles = [ "record" ];
} # }
{ # {
path = "rtsp://admin:ocu?u3Su@192.168.0.43/cam/realmonitor?channel=1&subtype=1"; # path = "rtsp://admin:ocu?u3Su@192.168.0.43/cam/realmonitor?channel=1&subtype=1";
roles = [ "detect" ]; # roles = [ "detect" ];
} # }
]; # ];
}; # };
}; # };
}; };
}; };
}; };

View file

@ -31,6 +31,7 @@ in
recommendedTlsSettings = true; recommendedTlsSettings = true;
recommendedOptimisation = true; recommendedOptimisation = true;
recommendedGzipSettings = true; recommendedGzipSettings = true;
eventsConfig = "worker_connections 4096;";
virtualHosts."test.${domain}" = { virtualHosts."test.${domain}" = {
useACMEHost = domain; useACMEHost = domain;