diff options
author | azahi <azat@bahawi.net> | 2025-03-12 20:17:13 +0300 |
---|---|---|
committer | azahi <azat@bahawi.net> | 2025-03-12 20:17:13 +0300 |
commit | c81dc5a13b469c511fac6fa2390b70422d1b4da5 (patch) | |
tree | 4dab5909006ab5c25da6bd9fde6a714c7719ded7 /modules/node-exporter.nix | |
parent | 2025-02-17 (diff) |
Diffstat (limited to 'modules/node-exporter.nix')
-rw-r--r-- | modules/node-exporter.nix | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/modules/node-exporter.nix b/modules/node-exporter.nix deleted file mode 100644 index 5e0b9a1..0000000 --- a/modules/node-exporter.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ - config, - lib, - this, - ... -}: -let - cfg = config.nixfiles.modules.node-exporter; -in -{ - options.nixfiles.modules.node-exporter.enable = lib.mkEnableOption "Prometheus Node Exporter"; - - config = lib.mkIf cfg.enable { - services.prometheus.exporters.node = { - enable = true; - listenAddress = lib.mkDefault this.wireguard.ipv4.address; - port = 9100; - enabledCollectors = [ - "buddyinfo" - "cgroups" - "ethtool" - "interrupts" - "ksmd" - "lnstat" - "logind" - "mountstats" - "network_route" - "processes" - "qdisc" - "systemd" - "zoneinfo" - ]; - }; - }; -} |