diff --git a/roles/gw/unbound/exporter.nix b/roles/gw/unbound/exporter.nix index df434f7..8eaaa34 100644 --- a/roles/gw/unbound/exporter.nix +++ b/roles/gw/unbound/exporter.nix @@ -3,7 +3,7 @@ services.prometheus.exporters.unbound = { enable = true; - controlInterface = "${config.services.unbound.localControlSocketPath}"; + unbound.host = "unix://${config.services.unbound.localControlSocketPath}"; listenAddress = "[::]"; group = "${config.services.unbound.group}"; }; @@ -24,4 +24,4 @@ ''; }; -} \ No newline at end of file +}