flake/nixos/profiles/prometheus/default.nix

8 lines
158 B
Nix

{
services.prometheus.exporters.node = {
enable = true;
listenAddress = "127.0.0.1";
port = 9091;
enabledCollectors = [ "systemd" ];
};
}