mirror of
https://github.com/dump-dvb/nix-config.git
synced 2024-06-15 12:27:01 +02:00
15 lines
257 B
Nix
15 lines
257 B
Nix
{ config, ... }:
|
|
{
|
|
# metrics exporter
|
|
services.prometheus.exporters = {
|
|
node = {
|
|
enable = true;
|
|
port = 8119;
|
|
listenAddress = config.deployment-TLMS.net.wg.addr4;
|
|
enabledCollectors = [
|
|
"systemd"
|
|
];
|
|
};
|
|
};
|
|
}
|