diff --git a/hosts/pre-router/configuration.nix b/hosts/pre-router/configuration.nix index a16a7ef..0a4f850 100644 --- a/hosts/pre-router/configuration.nix +++ b/hosts/pre-router/configuration.nix @@ -5,7 +5,6 @@ [ # Include the results of the hardware scan. ./hardware-configuration.nix ./router.nix - ./dns.nix ./ipv6.nix ./nginx.nix ]; diff --git a/hosts/pre-router/coredns-unbound.patch b/hosts/pre-router/coredns-unbound.patch deleted file mode 100644 index c73bb09..0000000 --- a/hosts/pre-router/coredns-unbound.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: plugin.cfg -IDEA additional info: -Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP -<+>UTF-8 -=================================================================== -diff --git a/plugin.cfg b/plugin.cfg ---- a/plugin.cfg (revision ddee42c974d89d9beb4ebf7b82019624fbf0c456) -+++ b/plugin.cfg (revision 04ba8accb25837d30a16445a1365489fe9509333) -@@ -69,3 +69,4 @@ - whoami:whoami - on:github.com/coredns/caddy/onevent - sign:sign -+unbound:github.com/coredns/unbound diff --git a/hosts/pre-router/dns.nix b/hosts/pre-router/dns.nix deleted file mode 100644 index b86fdac..0000000 --- a/hosts/pre-router/dns.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ config, pkgs, lib, ...}: - -{ - networking.firewall.interfaces.ens19.allowedUDPPorts = [ 53 ]; - services.coredns = { - enable = true; - config = '' - .:53 { - errors - log - cache - prometheus 10.42.10.8:9253 - forward . tls://2620:fe::fe tls://9.9.9.9 tls://2620:fe::9 tls://149.112.112.112 { - tls_servername dns.quad9.net - health_check 5s - } - } - ''; - }; -} \ No newline at end of file