summaryrefslogtreecommitdiff
path: root/nixos/common.nix
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-02-06 17:55:39 +0100
committerAlex Auvolat <alex@adnab.me>2024-02-06 17:55:39 +0100
commit68153b894f7f227d4e7714c6d138454df521d31c (patch)
treeb97371fdcadbc478da471ab1b10621017b20fd83 /nixos/common.nix
parent751261487ea1b628b7d683be4a0b23ac234be86a (diff)
downloaduser-config-68153b894f7f227d4e7714c6d138454df521d31c.tar.gz
user-config-68153b894f7f227d4e7714c6d138454df521d31c.zip
remove unbound dns resolver on local pcs
Diffstat (limited to 'nixos/common.nix')
-rw-r--r--nixos/common.nix21
1 files changed, 0 insertions, 21 deletions
diff --git a/nixos/common.nix b/nixos/common.nix
index 729e0d9..9ae7a60 100644
--- a/nixos/common.nix
+++ b/nixos/common.nix
@@ -32,27 +32,6 @@
networking.networkmanager.enable = true;
- services.unbound =
- let
- alfisTld = [ "anon." "btn." "conf." "index." "merch." "mirror." "mob." "screen." "srv." "ygg." ];
- in {
- enable = true;
- resolveLocalQueries = lib.mkDefault true;
- settings = {
- server = {
- log-servfail = true;
- domain-insecure = alfisTld;
- };
- forward-zone = map (tld: {
- name = tld;
- forward-addr = "324:71e:281a:9ed3::53";
- forward-tcp-upstream = false;
- forward-tls-upstream = false;
- }) alfisTld;
- };
- };
- services.resolved.enable = false;
-
# Open ports in the firewall.
networking.firewall.allowedTCPPorts = [
2022 # openssh