diff options
author | Franck Cuny <franck@fcuny.net> | 2023-04-03 17:55:21 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-04-03 17:55:21 -0700 |
commit | e2b38b8cd38f3b7452322ae460216cfdc9a931c1 (patch) | |
tree | 48917d8232b9cd19d145fdb4ecc4ab90abf484e5 | |
parent | hosts/carmel: reconfigure the host as a router (diff) | |
download | world-e2b38b8cd38f3b7452322ae460216cfdc9a931c1.tar.gz |
hosts/carmel: enable prometheus exporter for DNSmasq
-rw-r--r-- | hosts/carmel/services.nix | 5 |
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; |