infra/nixos/hosts/eidola/prometheus.nix

12 lines
220 B
Nix
Raw Permalink Normal View History

2024-12-14 18:24:51 -06:00
{...}: let
ipInternal = "10.13.1.1"; # TODO: hardcoding
in {
services.prometheus.exporters = {
node = {
enable = true;
listenAddress = ipInternal;
enabledCollectors = ["systemd"];
};
};
}