Add detector settings

This commit is contained in:
niten 2023-11-26 16:36:31 -08:00
parent 355ceae945
commit 813ea20001
1 changed files with 6 additions and 0 deletions

View File

@ -33,6 +33,7 @@ let
} }
]; ];
}) cfg.cameras; }) cfg.cameras;
detectors = cfg.detectors;
record = { record = {
enabled = true; enabled = true;
retain = { retain = {
@ -125,6 +126,11 @@ in {
"Path on build host to file containing the camera password."; "Path on build host to file containing the camera password.";
}; };
detectors = mkOption {
type = attrsOf (attrsOf any);
default = { };
};
cameras = let cameras = let
cameraOpts = { name, ... }: { cameraOpts = { name, ... }: {
options = { options = {