From 5fe56a99b806335698354c2c6c5a6cd9c3f28749 Mon Sep 17 00:00:00 2001 From: lassulus Date: Tue, 7 Mar 2017 19:25:03 +0100 Subject: k 3 monit: allow path or str for alarms & test --- krebs/3modules/monit.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'krebs') diff --git a/krebs/3modules/monit.nix b/krebs/3modules/monit.nix index 4d4066ae4..cc4a1b208 100644 --- a/krebs/3modules/monit.nix +++ b/krebs/3modules/monit.nix @@ -49,10 +49,10 @@ let type = with types; attrsOf (submodule { options = { test = mkOption { - type = path; + type = either path str; }; alarm = mkOption { - type = path; + type = either path str; }; interval = mkOption { type = str; -- cgit v1.2.3