summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixos/common.nix4
-rw-r--r--nixos/kusanagi.nix4
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" ];