From 7df24add8a958e13c7fd32c570644d03b4b970e8 Mon Sep 17 00:00:00 2001 From: cnst Date: Sat, 13 Sep 2025 19:25:04 +0200 Subject: [PATCH] fix(unbound): revert to old IP --- modules/server/unbound/default.nix | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/modules/server/unbound/default.nix b/modules/server/unbound/default.nix index dee70755..fda9dd05 100644 --- a/modules/server/unbound/default.nix +++ b/modules/server/unbound/default.nix @@ -3,21 +3,17 @@ pkgs, config, ... -}: -let +}: let unit = "unbound"; cfg = config.server.${unit}; - hostIp = - hostname: - if hostname == "ziggy" then - "192.168.88.12" - else if hostname == "sobotka" then - "192.168.88.15" - else - throw "No IP defined for host ${hostname}"; -in -{ + hostIp = hostname: + if hostname == "ziggy" + then "192.168.88.12" + else if hostname == "sobotka" + then "192.168.88.14" + else throw "No IP defined for host ${hostname}"; +in { options.server.${unit} = { enable = lib.mkEnableOption { description = "Enable ${unit}";