From a79f8e7bc6d6a209d443c07193243d1a9dba830a Mon Sep 17 00:00:00 2001
From: chayleaf <chayleaf-git@pavluk.org>
Date: Sun, 24 Nov 2024 13:48:31 +0700
Subject: [PATCH] todo amend fix unbound metrics

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

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