summaryrefslogtreecommitdiffstats
path: root/3modules/krebs/urlwatch.nix
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-07-27 02:39:41 +0200
committertv <tv@shackspace.de>2015-07-27 02:49:36 +0200
commit02bac2c7a049a1dcf2f13edf07c3fc7bc1ea9633 (patch)
tree66c2dfc2d06751b20a11be2857cd11cee1320d87 /3modules/krebs/urlwatch.nix
parentafb6afff1d0f81d8a0dcfd94fa8e46a849bb094f (diff)
3 krebs.urlwatch: add defaults
Diffstat (limited to '3modules/krebs/urlwatch.nix')
-rw-r--r--3modules/krebs/urlwatch.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/3modules/krebs/urlwatch.nix b/3modules/krebs/urlwatch.nix
index 58de72fc6..39d9fec54 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