stockholm/lass/2configs/monitoring/node-exporter.nix
2018-04-21 17:52:45 +02:00

14 lines
220 B
Nix

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