prometheus: add mkDefault to checkConfig (#299)

This commit is contained in:
zowoq 2023-11-09 23:51:33 +10:00 committed by GitHub
parent 81e3fee0fc
commit a0d29fdb2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) ];
};
};