diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-11-04 16:52:03 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-11-04 16:52:03 +0300 |
commit | 5da01d688fcfd4d1956197f7b7f9372e88687d05 (patch) | |
tree | 662647084b947301db091928c58f83ad74dbd232 /modules/nixos/unbound.nix | |
parent | 2023-10-30 (diff) |
2023-11-04
Diffstat (limited to '')
-rw-r--r-- | modules/nixos/unbound.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/nixos/unbound.nix b/modules/nixos/unbound.nix index 4d21fd2..dd7e757 100644 --- a/modules/nixos/unbound.nix +++ b/modules/nixos/unbound.nix @@ -151,14 +151,12 @@ in { localControlSocketPath = "/run/unbound/unbound.socket"; }; - # TODO Switch to https://github.com/letsencrypt/unbound_exporter. prometheus.exporters.unbound = { enable = true; listenAddress = mkDefault this.wireguard.ipv4.address; port = 9167; - fetchType = "uds"; - controlInterface = config.services.unbound.localControlSocketPath; inherit (config.services.unbound) group user; + unbound.host = "unix://${config.services.unbound.localControlSocketPath}"; }; }; |