Add detector settings
This commit is contained in:
parent
355ceae945
commit
813ea20001
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue