From 46e5d85c301b47432b93e4c75d489f8ed0d577ad Mon Sep 17 00:00:00 2001 From: niten Date: Sun, 28 Jul 2024 13:14:02 -0700 Subject: [PATCH] mkif -> mkIf --- lib/fudo/prometheus.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fudo/prometheus.nix b/lib/fudo/prometheus.nix index 9e42f71..d7d604c 100644 --- a/lib/fudo/prometheus.nix +++ b/lib/fudo/prometheus.nix @@ -154,7 +154,7 @@ in { honor_labels = false; scheme = if secured then "https" else "http"; metrics_path = path; - static_configs = mkif (static-targets != [ ]) + static_configs = mkIf (static-targets != [ ]) (let attachPort = target: "${target}:${toString port}"; in [{ targets = map attachPort static-targets; }]); dns_sd_configs =