aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-07-19 04:14:19 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-07-19 04:14:19 +0200
commitd3941d98452253ef3b54bdaf62f784189ee40b6f (patch)
treed7c9ea161366350dc467f2732665b9ee86ebdf2e /modules
parentserver2: Enable monitoring (diff)
downloadnixos-server-d3941d98452253ef3b54bdaf62f784189ee40b6f.zip
modules/monitoring/scrutiny: Don't enable if not enabled
Diffstat (limited to '')
-rw-r--r--modules/by-name/mo/monitoring/components/scrutiny.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/by-name/mo/monitoring/components/scrutiny.nix b/modules/by-name/mo/monitoring/components/scrutiny.nix
index 31871cd..d69dcab 100644
--- a/modules/by-name/mo/monitoring/components/scrutiny.nix
+++ b/modules/by-name/mo/monitoring/components/scrutiny.nix
@@ -19,7 +19,7 @@ in {
};
};
- config = {
+ config = lib.mkIf cfg.enable {
vhack.monitoring = {
prometheus.sources = [
{