flake/nixos/profiles/prometheus/default.nix

11 lines
181 B
Nix
Raw Normal View History

2024-08-29 17:42:37 +00:00
{ config, lib, ... }:
{
services.prometheus.exporters.node = {
enable = true;
listenAddress = "127.0.0.1";
port = 9091;
enabledCollectors = [ "systemd" ];
};
}