From 6119d748c68972fac2053c7ff87e4f4a9cbba721 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 16 Jan 2024 20:25:26 +0100 Subject: kusanagi: use network dns servers instead of unbound --- nixos/common.nix | 4 ++-- nixos/kusanagi.nix | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/nixos/common.nix b/nixos/common.nix index 317bece..d752325 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: { imports = [ @@ -37,7 +37,7 @@ alfisTld = [ "anon." "btn." "conf." "index." "merch." "mirror." "mob." "screen." "srv." "ygg." ]; in { enable = true; - resolveLocalQueries = true; + resolveLocalQueries = lib.mkDefault true; settings = { server = { log-servfail = true; diff --git a/nixos/kusanagi.nix b/nixos/kusanagi.nix index 0d13437..fbc78a5 100644 --- a/nixos/kusanagi.nix +++ b/nixos/kusanagi.nix @@ -115,6 +115,10 @@ in nix.gc.automatic = false; + # ---- disable unbound dns resolution ---- + + services.unbound.resolveLocalQueries = false; + # ---- improve graphics ---- services.xserver.videoDrivers = [ "intel" ]; -- cgit v1.2.3