From 3ee0c466f90f4c6d8f2ea342ac937f98fdb376bf Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Tue, 24 Dec 2024 00:01:13 +0100 Subject: [PATCH] [nixos/server] use local adguard with fallbacks --- nixos/server/configuration.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/nixos/server/configuration.nix b/nixos/server/configuration.nix index 62716fa..759acb7 100644 --- a/nixos/server/configuration.nix +++ b/nixos/server/configuration.nix @@ -277,19 +277,12 @@ in { SystemMaxUse=1G ''; - services.resolved = { - enable = true; - dnssec = "true"; - dnsovertls = "true"; - domains = [ "~." ]; # use as default interface for all requests - llmnr = "false"; - }; - networking.hostName = "nixos"; # Define your hostname. networking.domain = "pascal-wittmann.de"; networking.nameservers = [ - "9.9.9.9#dns.quad9.net" - "149.112.112.112#dns.quad9.net" + "127.0.0.1" + "9.9.9.9" + "149.112.112.112" ]; networking.firewall.enable = true;