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 = {