mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
test
This commit is contained in:
parent
e4e5ac629c
commit
350423d449
2 changed files with 57 additions and 56 deletions
|
|
@ -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" ];
|
||||||
}
|
# }
|
||||||
];
|
# ];
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue