diff options
author | tv <tv@krebsco.de> | 2019-08-13 09:29:49 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2019-08-13 09:30:21 +0200 |
commit | 681075a8f41ecfbac4c113481adde4d61f497c36 (patch) | |
tree | 7e4ab09908c0b5a5cf1bba6f832cbb6ce210f614 /krebs/3modules/urlwatch.nix | |
parent | bc7c360b80409cff1bea0fe2c187c43b0eec8269 (diff) |
urlwatch: (re-) enable sendmail by default
Diffstat (limited to 'krebs/3modules/urlwatch.nix')
-rw-r--r-- | krebs/3modules/urlwatch.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/krebs/3modules/urlwatch.nix b/krebs/3modules/urlwatch.nix index 3c9ff7709..61ee72e74 100644 --- a/krebs/3modules/urlwatch.nix +++ b/krebs/3modules/urlwatch.nix @@ -16,9 +16,6 @@ let api = { enable = mkEnableOption "krebs.urlwatch"; - - customSendmail.enable = mkEnableOption "krebs.urlwatch.customSendmail"; - dataDir = mkOption { type = types.str; default = "/var/lib/urlwatch"; @@ -56,8 +53,11 @@ let The format is described in systemd.time(7), CALENDAR EVENTS. ''; }; + sendmail.enable = mkEnableOption "krebs.urlwatch.sendmail" // { + default = true; + }; telegram = { - enable = mkEnableOption "krebs.urlwatch.telegram" // { default = false; }; + enable = mkEnableOption "krebs.urlwatch.telegram"; botToken = mkOption { type = types.str; }; @@ -174,7 +174,7 @@ let --urls=${shell.escape urlsFile} \ > changes || : - ${optionalString cfg.customSendmail.enable /* sh */ '' + ${optionalString cfg.sendmail.enable /* sh */ '' if test -s changes; then { echo Date: $(date -R) |