14 lines
237 B
Nix
14 lines
237 B
Nix
|
{ lib, config, pkgs, ... }:
|
||
|
{
|
||
|
services.prometheus = {
|
||
|
exporters = {
|
||
|
node = {
|
||
|
enable = true;
|
||
|
enabledCollectors = [ "systemd" ];
|
||
|
listenAddress = "10.100.0.1";
|
||
|
port = 9002;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|