Skip to content

Commit ede19bd

Browse files
committed
chore: init fodChecker setting in module
1 parent 61e5ae6 commit ede19bd

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

runner-module.nix

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,28 @@ in
143143
type = lib.types.listOf lib.types.singleLineStr;
144144
default = [ ];
145145
};
146+
fodChecker = lib.mkOption {
147+
description = "Reloadable settings for queue runner";
148+
type = lib.types.submodule {
149+
options = {
150+
enable = lib.mkOption {
151+
description = "Enable FOD Checker";
152+
type = lib.types.bool;
153+
default = false;
154+
};
155+
secondsBetweenFodChecks = lib.mkOption {
156+
description = "Time in seconds between FOD Checker";
157+
type = lib.types.int;
158+
default = 60 * 60 * 24 * 7;
159+
};
160+
uploadRealisations = lib.mkOption {
161+
description = "Upload realisations outputs of FOD Checker to remote store.";
162+
type = lib.types.bool;
163+
default = false;
164+
};
165+
};
166+
};
167+
};
146168
};
147169
};
148170
default = { };

0 commit comments

Comments
 (0)