infra/hosts/nachtigall/apps/prometheus-exporters.nix
2023-12-13 02:00:51 +01:00

15 lines
192 B
Nix

{
config,
...
}: {
services.prometheus = {
exporters = {
node = {
enable = true;
enabledCollectors = [ "systemd" ];
port = 9002;
};
};
};
}