diff --git a/src/system/modules/frigate/default.nix b/src/system/modules/frigate/default.nix index 72a6f90..aaddffc 100644 --- a/src/system/modules/frigate/default.nix +++ b/src/system/modules/frigate/default.nix @@ -19,20 +19,20 @@ 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" ]; - } - ]; - }; - }; + # "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" = { ffmpeg = { inputs = [ @@ -47,48 +47,48 @@ in ]; }; }; - "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" ]; - } - ]; - }; - }; + # "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" ]; + # } + # ]; + # }; + # }; }; }; }; diff --git a/src/system/modules/nginx/default.nix b/src/system/modules/nginx/default.nix index 340923c..14e5903 100644 --- a/src/system/modules/nginx/default.nix +++ b/src/system/modules/nginx/default.nix @@ -31,6 +31,7 @@ in recommendedTlsSettings = true; recommendedOptimisation = true; recommendedGzipSettings = true; + eventsConfig = "worker_connections 4096;"; virtualHosts."test.${domain}" = { useACMEHost = domain;