15 lines
192 B
Nix
15 lines
192 B
Nix
{
|
|
config,
|
|
...
|
|
}: {
|
|
services.prometheus = {
|
|
exporters = {
|
|
node = {
|
|
enable = true;
|
|
enabledCollectors = [ "systemd" ];
|
|
port = 9002;
|
|
};
|
|
};
|
|
};
|
|
}
|