From b53e982317e43f319a4cb639682a3776754d1a59 Mon Sep 17 00:00:00 2001 From: Kristian Krsnik Date: Wed, 4 Oct 2023 18:43:34 +0200 Subject: [PATCH] renamed --- nix/module.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/module.nix b/nix/module.nix index 9842678..b48ec67 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -35,7 +35,7 @@ in { in valueType; default = { - filename = throw "Please specify outage-detector.settings."; + logFile = throw "Please specify outage-detector.settings."; host = "1.1.1.1"; timeout = 2; }; @@ -47,7 +47,7 @@ in { systemd.services.outage-detector = mkIf (cfg.timer != null) { - script = "${package}/bin/outage_detector log ${cfg.settings.filename} --host ${cfg.settings.host} --timeout ${cfg.settings.timeout}"; + script = "${package}/bin/outage_detector log ${cfg.settings.logFile} --host ${cfg.settings.host} --timeout ${cfg.settings.timeout}"; serviceConfig = { Type = "oneshot";