mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
added cameras
This commit is contained in:
parent
05ed364b26
commit
30991dd537
2 changed files with 40 additions and 66 deletions
|
|
@ -100,7 +100,12 @@ in
|
|||
services.dnsmasq = {
|
||||
enable = true;
|
||||
settings = {
|
||||
address = "/.ramos.codes/192.168.0.154";
|
||||
# Only specific subdomains go to local server
|
||||
address = [
|
||||
"/git.ramos.codes/192.168.0.154"
|
||||
"/frigate.ramos.codes/192.168.0.154"
|
||||
"/test.ramos.codes/192.168.0.154"
|
||||
];
|
||||
server = [ "1.1.1.1" "8.8.8.8" ];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -19,73 +19,41 @@ in
|
|||
settings = {
|
||||
mqtt.enabled = false;
|
||||
cameras = {
|
||||
# "doorbell" = {
|
||||
# ffmpeg = {
|
||||
# inputs = [
|
||||
# {
|
||||
# path = "rtsp://admin:ocu?u3Su@192.168.0.134/cam/realmonitor?channel=1&subtype=0";
|
||||
# roles = [ "record" ];
|
||||
# }
|
||||
# {
|
||||
# path = "rtsp://admin:ocu?u3Su@192.168.0.134/cam/realmonitor?channel=1&subtype=1";
|
||||
# roles = [ "detect" ];
|
||||
# }
|
||||
# ];
|
||||
# };
|
||||
# };
|
||||
"living_room" = {
|
||||
doorbell = {
|
||||
detect.enabled = false;
|
||||
ffmpeg = {
|
||||
inputs = [
|
||||
{
|
||||
path = "rtsp://admin:ocu?u3Su@192.168.0.181/cam/realmonitor?channel=1&subtype=0";
|
||||
roles = [ "record" ];
|
||||
}
|
||||
];
|
||||
};
|
||||
ffmpeg.inputs = [{
|
||||
path = "rtsp://admin:ocu?u3Su@192.168.0.134/cam/realmonitor?channel=1&subtype=0";
|
||||
roles = [ "record" ];
|
||||
}];
|
||||
};
|
||||
living_room = {
|
||||
detect.enabled = false;
|
||||
ffmpeg.inputs = [{
|
||||
path = "rtsp://admin:ocu?u3Su@192.168.0.181/cam/realmonitor?channel=1&subtype=0";
|
||||
roles = [ "record" ];
|
||||
}];
|
||||
};
|
||||
kitchen = {
|
||||
detect.enabled = false;
|
||||
ffmpeg.inputs = [{
|
||||
path = "rtsp://admin:ocu?u3Su@192.168.0.181/cam/realmonitor?channel=2&subtype=0";
|
||||
roles = [ "record" ];
|
||||
}];
|
||||
};
|
||||
parking_lot = {
|
||||
detect.enabled = false;
|
||||
ffmpeg.inputs = [{
|
||||
path = "rtsp://admin:ocu?u3Su@192.168.0.59/cam/realmonitor?channel=1&subtype=0";
|
||||
roles = [ "record" ];
|
||||
}];
|
||||
};
|
||||
porch = {
|
||||
detect.enabled = false;
|
||||
ffmpeg.inputs = [{
|
||||
path = "rtsp://admin:ocu?u3Su@192.168.0.43/cam/realmonitor?channel=1&subtype=0";
|
||||
roles = [ "record" ];
|
||||
}];
|
||||
};
|
||||
# "kitchen" = {
|
||||
# ffmpeg = {
|
||||
# inputs = [
|
||||
# {
|
||||
# path = "rtsp://admin:ocu?u3Su@192.168.0.181/cam/realmonitor?channel=2&subtype=0";
|
||||
# roles = [ "record" ];
|
||||
# }
|
||||
# {
|
||||
# path = "rtsp://admin:ocu?u3Su@192.168.0.181/cam/realmonitor?channel=2&subtype=1";
|
||||
# roles = [ "detect" ];
|
||||
# }
|
||||
# ];
|
||||
# };
|
||||
# };
|
||||
# "parking_lot" = {
|
||||
# ffmpeg = {
|
||||
# inputs = [
|
||||
# {
|
||||
# path = "rtsp://admin:ocu?u3Su@192.168.0.59/cam/realmonitor?channel=1&subtype=0";
|
||||
# roles = [ "record" ];
|
||||
# }
|
||||
# {
|
||||
# path = "rtsp://admin:ocu?u3Su@192.168.0.59/cam/realmonitor?channel=1&subtype=1";
|
||||
# roles = [ "detect" ];
|
||||
# }
|
||||
# ];
|
||||
# };
|
||||
# };
|
||||
# "porch" = {
|
||||
# ffmpeg = {
|
||||
# inputs = [
|
||||
# {
|
||||
# path = "rtsp://admin:ocu?u3Su@192.168.0.43/cam/realmonitor?channel=1&subtype=0";
|
||||
# roles = [ "record" ];
|
||||
# }
|
||||
# {
|
||||
# path = "rtsp://admin:ocu?u3Su@192.168.0.43/cam/realmonitor?channel=1&subtype=1";
|
||||
# roles = [ "detect" ];
|
||||
# }
|
||||
# ];
|
||||
# };
|
||||
# };
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
@ -95,5 +63,6 @@ in
|
|||
useACMEHost = domain;
|
||||
forceSSL = true;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue