diff options
author | Alex Auvolat <alex@adnab.me> | 2024-01-16 20:25:26 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2024-01-16 20:25:41 +0100 |
commit | 6119d748c68972fac2053c7ff87e4f4a9cbba721 (patch) | |
tree | cc1bb006172b9543667801f5cdeff16b9e5a4b13 /nixos | |
parent | 19855d694c994c26cec65d8fe10a1eb90b884db5 (diff) | |
download | user-config-6119d748c68972fac2053c7ff87e4f4a9cbba721.tar.gz user-config-6119d748c68972fac2053c7ff87e4f4a9cbba721.zip |
kusanagi: use network dns servers instead of unbound
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/common.nix | 4 | ||||
-rw-r--r-- | 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" ]; |