infra/modules/prometheus-exporters/default.nix

14 lines
189 B
Nix

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