We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f347079 commit e15b065Copy full SHA for e15b065
modules/random-alerts/default.nix
@@ -42,6 +42,20 @@
42
description = ''Time after alerts ends in seconds'';
43
};
44
45
+ start-time = mkOption {
46
+ type = types.str;
47
+ default = "00:00:00";
48
+ example = "10:00:00";
49
+ description = ''The start time of alerts in a 24-hour clock'';
50
+ };
51
+
52
+ end-time = mkOption {
53
54
+ default = "23:59:59";
55
+ example = "22:00:00";
56
+ description = ''The end time of alerts in a 24-hour clock'';
57
58
59
log-level = mkOption {
60
type = types.enum [
61
"info"
0 commit comments