From 431e30167347e1a942f07598476c3058e4adf8ea Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Mon, 4 Dec 2023 15:23:12 +0100 Subject: [PATCH] give unbound fixed ip address --- hosts/fw.cloonar.com/modules/unbound.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/fw.cloonar.com/modules/unbound.nix b/hosts/fw.cloonar.com/modules/unbound.nix index 5cf70a0..eea24a4 100644 --- a/hosts/fw.cloonar.com/modules/unbound.nix +++ b/hosts/fw.cloonar.com/modules/unbound.nix @@ -156,7 +156,10 @@ in { networking = { hostName = "ns"; interfaces.mv-vserver = { - useDHCP = true; + ipv4.addresses = [{ + address = "10.42.97.2"; + prefixLength = 24; + }]; }; firewall = { enable = true;