flake/nixos/profiles/prometheus/default.nix

10 lines
181 B
Nix

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