From ce1e00d5b0db1452d5f0131f668d47fc45bce75f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?= Date: Thu, 1 Feb 2024 22:37:47 +0100 Subject: [PATCH] pie/networking: fix dns resolver collision --- hosts/pie/unbound.nix | 1 + modules/core/networking.nix | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/pie/unbound.nix b/hosts/pie/unbound.nix index 310444a..400cebb 100644 --- a/hosts/pie/unbound.nix +++ b/hosts/pie/unbound.nix @@ -31,6 +31,7 @@ networking.firewall.allowedUDPPorts = [ 53 ]; networking.firewall.allowedTCPPorts = [ 53 ]; + services.resolved.enable = false; services.unbound = { enable = true; diff --git a/modules/core/networking.nix b/modules/core/networking.nix index 9f63d8c..a81fc77 100644 --- a/modules/core/networking.nix +++ b/modules/core/networking.nix @@ -25,7 +25,7 @@ networking.nftables.enable = true; services.resolved = { - enable = true; + enable = lib.mkDefault true; fallbackDns = [ "193.110.81.0#dns0.eu" "2a0f:fc80::#dns0.eu"