about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/carmel/services.nix5
1 files changed, 5 insertions, 0 deletions
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;