summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-07-27 02:39:41 +0200
committertv <tv@krebsco.de>2015-07-27 02:49:36 +0200
commit3f9bdb3821d9a24670e71a41d6289585b5289ef5 (patch)
treed24d2ab2c00f8f0c3f340389e97fa1123d62a4b5
parent869eeb1dc1d3bfeddf67f882e0853b15e63dceb3 (diff)
3 krebs.urlwatch: add defaults
-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 58de72f..39d9fec 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