From 43c3ce68b9154166140b956ae52d1024341c94bb Mon Sep 17 00:00:00 2001
From: chayleaf <chayleaf-git@pavluk.org>
Date: Sun, 24 Nov 2024 11:21:02 +0700
Subject: [PATCH] router: update unbound metrics config

---
 system/hosts/router/metrics.nix | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/system/hosts/router/metrics.nix b/system/hosts/router/metrics.nix
index bb2fc66..919ebb3 100644
--- a/system/hosts/router/metrics.nix
+++ b/system/hosts/router/metrics.nix
@@ -19,7 +19,8 @@ in {
     };
     unbound = {
       enable = true;
-      controlInterface = "/run/unbound/unbound.ctl";
+      # controlInterface = "/run/unbound/unbound.ctl";
+      host = "unix:///run/unbound/unbound.ctl";
       listenAddress = netAddresses.lan4;
       group = config.services.unbound.group;
     };