summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-08-13 09:44:26 +0200
committertv <tv@krebsco.de>2019-08-13 09:44:26 +0200
commitccb7fb731c9118f86300b2b02c987b28b079c938 (patch)
treec11d3233724e45c349fa3eeceedee1d7f1fbee1d /krebs
parentb13d9d3149c349160e43e9ea1dbe654829b58ad9 (diff)
urlwatch: use writeJSON
Diffstat (limited to 'krebs')
-rw-r--r--krebs/3modules/urlwatch.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/krebs/3modules/urlwatch.nix b/krebs/3modules/urlwatch.nix
index 79b45c622..43535b08f 100644
--- a/krebs/3modules/urlwatch.nix
+++ b/krebs/3modules/urlwatch.nix
@@ -93,7 +93,7 @@ let
hooksFile = cfg.hooksFile;
- configFile = pkgs.writeText "urlwatch.yaml" (toJSON {
+ configFile = pkgs.writeJSON "urlwatch.yaml" {
display = {
error = true;
new = true;
@@ -129,7 +129,7 @@ let
line_length = 75;
};
};
- });
+ };
imp = {
systemd.timers.urlwatch = {