14 lines
220 B
Nix
14 lines
220 B
Nix
{ config, lib, pkgs, ... }:
|
|
{
|
|
networking.firewall.allowedTCPPorts = [ 9100 ];
|
|
|
|
services.prometheus.exporters = {
|
|
node = {
|
|
enable = true;
|
|
enabledCollectors = [
|
|
"systemd"
|
|
];
|
|
};
|
|
};
|
|
}
|