From 0e902d7156020ed98cd6eca1fd791f7c7e440d87 Mon Sep 17 00:00:00 2001 From: Christine Elisabeth Koppel Date: Sat, 14 Feb 2026 15:36:14 +0100 Subject: [PATCH] Play around with config options. --- .../modules/system/gramethus.nix | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/nix-system-configs/modules/system/gramethus.nix b/nix-system-configs/modules/system/gramethus.nix index 70c809c..d44c3cb 100644 --- a/nix-system-configs/modules/system/gramethus.nix +++ b/nix-system-configs/modules/system/gramethus.nix @@ -79,16 +79,16 @@ in { }; services.prometheus = { - enable = true; - port = 9001; - - exporters.node.enabledCollectors = [ - "ethtool" - "softirqs" - "systemd" - "tcpstat" - ]; - + exporters.node = { + enabledCollectors = [ + "ethtool" + "softirqs" + "systemd" + "tcpstat" + ]; + enable = true; + port = 9001; + }; globalConfig.scrape_interval = "10s"; # "1m" scrapeConfigs = [ {