From e2b38b8cd38f3b7452322ae460216cfdc9a931c1 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 3 Apr 2023 17:55:21 -0700 Subject: hosts/carmel: enable prometheus exporter for DNSmasq --- hosts/carmel/services.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hosts') diff --git a/hosts/carmel/services.nix b/hosts/carmel/services.nix index 63d749e..c5ba5e6 100644 --- a/hosts/carmel/services.nix +++ b/hosts/carmel/services.nix @@ -47,6 +47,11 @@ # DNS / DHCPv4 / DHCPv6 networking.firewall.allowedUDPPorts = [ 53 67 547 ]; + services.prometheus.exporters.dnsmasq = { + enable = true; + leasesPath = "/var/lib/dnsmasq/dnsmasq.leases"; + }; + services.nginx = { enable = true; recommendedProxySettings = true; -- cgit 1.4.1