From 813ea20001adf524cd82778aae9e5f4b9f56e344 Mon Sep 17 00:00:00 2001 From: niten Date: Sun, 26 Nov 2023 16:36:31 -0800 Subject: [PATCH] Add detector settings --- frigate-container.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frigate-container.nix b/frigate-container.nix index 9f517c6..33325b4 100644 --- a/frigate-container.nix +++ b/frigate-container.nix @@ -33,6 +33,7 @@ let } ]; }) cfg.cameras; + detectors = cfg.detectors; record = { enabled = true; retain = { @@ -125,6 +126,11 @@ in { "Path on build host to file containing the camera password."; }; + detectors = mkOption { + type = attrsOf (attrsOf any); + default = { }; + }; + cameras = let cameraOpts = { name, ... }: { options = {