19 lines
332 B
Nix
19 lines
332 B
Nix
|
{ ... }:
|
||
|
|
||
|
{
|
||
|
imports = [ ./web-config.nix ];
|
||
|
|
||
|
services.prometheus.exporters.node = {
|
||
|
enable = true;
|
||
|
port = 40000;
|
||
|
openFirewall = true;
|
||
|
enabledCollectors = [ "systemd" ];
|
||
|
extraFlags = [
|
||
|
"--collector.ethtool"
|
||
|
"--collector.softirqs"
|
||
|
"--collector.tcpstat"
|
||
|
"--collector.wifi"
|
||
|
];
|
||
|
};
|
||
|
}
|