From a0d29fdb2f27b1bd9979810ebccb3b4d9fcda977 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Thu, 9 Nov 2023 23:51:33 +1000 Subject: [PATCH] prometheus: add mkDefault to checkConfig (#299) --- nixos/roles/prometheus/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/roles/prometheus/default.nix b/nixos/roles/prometheus/default.nix index e3f8136..6cd9b85 100644 --- a/nixos/roles/prometheus/default.nix +++ b/nixos/roles/prometheus/default.nix @@ -132,7 +132,7 @@ in services.prometheus = { enable = lib.mkDefault true; # checks fail because of missing secrets in the sandbox - checkConfig = "syntax-only"; + checkConfig = lib.mkDefault "syntax-only"; ruleFiles = [ (pkgs.writers.writeYAML "rules.yaml" rules) ]; }; };