From a5d438d3c86313b41671961a84d0bd31a1e9d4bf Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Mon, 4 Dec 2023 16:16:12 +0100 Subject: [PATCH] fix dns --- hosts/fw.cloonar.com/modules/networking.nix | 2 +- hosts/fw.cloonar.com/modules/unbound.nix | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/hosts/fw.cloonar.com/modules/networking.nix b/hosts/fw.cloonar.com/modules/networking.nix index cb99ee7..162b098 100644 --- a/hosts/fw.cloonar.com/modules/networking.nix +++ b/hosts/fw.cloonar.com/modules/networking.nix @@ -23,7 +23,7 @@ networking = { useDHCP = false; - nameservers = [ "9.9.9.9" "149.112.112.112" ]; + nameservers = [ "10.42.97.2" ]; # Define VLANS vlans = { infrastructure = { diff --git a/hosts/fw.cloonar.com/modules/unbound.nix b/hosts/fw.cloonar.com/modules/unbound.nix index 1024f78..9dc296e 100644 --- a/hosts/fw.cloonar.com/modules/unbound.nix +++ b/hosts/fw.cloonar.com/modules/unbound.nix @@ -130,17 +130,6 @@ let ]; }; in { - services.unbound = { - enable = true; - settings = cfg // { - server.tls-cert-bundle = "/var/lib/acme/fw.cloonnar.com/fullchain.pem"; - }; - }; - security.acme.certs."fw.cloonar.com" = { - domain = "fw.cloonar.com"; - group = "unbound"; - }; - security.acme.certs."${domain}" = { domain = "${domain}"; group = "996";