nixos-config/machines/shinobu/services/snmp-exporter.nix

10 lines
225 B
Nix
Raw Normal View History

2023-11-04 13:57:59 +01:00
{ config, pkgs, ... }:
{
services.prometheus.exporters.snmp = {
enable = true;
listenAddress = config.sbruder.wireguard.home.address;
configurationPath = "${pkgs.prometheus-snmp-exporter.src}/snmp.yml";
};
}