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

10 lines
225 B
Nix

{ config, pkgs, ... }:
{
services.prometheus.exporters.snmp = {
enable = true;
listenAddress = config.sbruder.wireguard.home.address;
configurationPath = "${pkgs.prometheus-snmp-exporter.src}/snmp.yml";
};
}