mirror of
https://github.com/nix-community/srvos.git
synced 2024-08-17 01:40:26 +03:00
prometheus: add mkDefault to checkConfig (#299)
This commit is contained in:
parent
81e3fee0fc
commit
a0d29fdb2f
@ -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) ];
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user