infrastructure/depot/services/node-exporter/default.nix

15 lines
239 B
Nix

{ config, ... }:
{
network.firewall.private.tcp.ports = [ 9002 ];
services.prometheus = {
exporters = {
node = {
enable = true;
enabledCollectors = [ "systemd" ];
port = 9002;
};
};
};
}