diff --git a/machines/fuuko/services/dnsmasq.nix b/machines/fuuko/services/dnsmasq.nix index 0df1262..173dfb4 100644 --- a/machines/fuuko/services/dnsmasq.nix +++ b/machines/fuuko/services/dnsmasq.nix @@ -35,7 +35,7 @@ services.prometheus.exporters.dnsmasq = { enable = true; - listenAddress = "0.0.0.0"; + listenAddress = config.sbruder.wireguard.home.address; leasesPath = "/var/lib/dnsmasq/dnsmasq.leases"; }; diff --git a/machines/fuuko/services/fritzbox-exporter.nix b/machines/fuuko/services/fritzbox-exporter.nix index f9d540c..1251261 100644 --- a/machines/fuuko/services/fritzbox-exporter.nix +++ b/machines/fuuko/services/fritzbox-exporter.nix @@ -1,7 +1,9 @@ +{ config, ... }: + { services.prometheus.exporters.fritzbox = { enable = true; gatewayAddress = "192.168.100.1"; - listenAddress = "0.0.0.0"; + listenAddress = config.sbruder.wireguard.home.address; }; }