3 krebs.urlwatch: add defaults

This commit is contained in:
tv 2015-07-27 02:39:41 +02:00
parent afb6afff1d
commit 02bac2c7a0

View File

@ -35,20 +35,22 @@ let
}; };
mailto = mkOption { mailto = mkOption {
type = types.str; type = types.str;
default = config.krebs.build.user.mail;
description = '' description = ''
Content of the To: header of the generated mails. [AKA recipient :)] Content of the To: header of the generated mails. [AKA recipient :)]
''; '';
}; };
onCalendar = mkOption { onCalendar = mkOption {
type = types.str; type = types.str;
default = "04:23";
description = '' description = ''
Run urlwatch at this interval. Run urlwatch at this interval.
The format is described in systemd.time(7), CALENDAR EVENTS. The format is described in systemd.time(7), CALENDAR EVENTS.
''; '';
example = "04:23";
}; };
urls = mkOption { urls = mkOption {
type = with types; listOf str; type = with types; listOf str;
default = [];
description = "URL to watch."; description = "URL to watch.";
example = [ example = [
https://nixos.org/channels/nixos-unstable/git-revision https://nixos.org/channels/nixos-unstable/git-revision