2020-08-22 17:44:39 +02:00
|
|
|
{ config, ... }:
|
|
|
|
{
|
|
|
|
services.prometheus.exporters.node = {
|
|
|
|
enable = true;
|
2020-12-05 14:39:36 +01:00
|
|
|
listenAddress = config.sbruder.wireguard.home.address;
|
2020-09-01 11:24:36 +02:00
|
|
|
enabledCollectors = [ "systemd " ];
|
2020-08-22 17:44:39 +02:00
|
|
|
};
|
2020-08-22 17:56:50 +02:00
|
|
|
|
|
|
|
systemd.services.prometheus-node-exporter.after = [ "wireguard-wg-home.service" ];
|
2020-08-22 17:44:39 +02:00
|
|
|
}
|