From 02bac2c7a049a1dcf2f13edf07c3fc7bc1ea9633 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 27 Jul 2015 02:39:41 +0200 Subject: 3 krebs.urlwatch: add defaults --- 3modules/krebs/urlwatch.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/3modules/krebs/urlwatch.nix b/3modules/krebs/urlwatch.nix index 58de72fc..39d9fec5 100644 --- a/3modules/krebs/urlwatch.nix +++ b/3modules/krebs/urlwatch.nix @@ -35,20 +35,22 @@ let }; mailto = mkOption { type = types.str; + default = config.krebs.build.user.mail; description = '' Content of the To: header of the generated mails. [AKA recipient :)] ''; }; onCalendar = mkOption { type = types.str; + default = "04:23"; description = '' Run urlwatch at this interval. The format is described in systemd.time(7), CALENDAR EVENTS. ''; - example = "04:23"; }; urls = mkOption { type = with types; listOf str; + default = []; description = "URL to watch."; example = [ https://nixos.org/channels/nixos-unstable/git-revision -- cgit v1.2.3