stockholm/lass/2configs/monitoring/node-exporter.nix

14 lines
220 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
{
networking.firewall.allowedTCPPorts = [ 9100 ];
services.prometheus.exporters = {
node = {
enable = true;
enabledCollectors = [
"systemd"
];
};
};
}