about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-04-28T15·45+0200
committerVincent Ambo <tazjin@gmail.com>2018-04-28T15·45+0200
commiteab23ce91281fdcad9d2d27d7722b22e2f6a8f3c (patch)
treebed2bbb4f1f6b5565f962c521d7522aa79861c14
parent7f34861ef1c685af75a0a89449f005a04245ea16 (diff)
feat(config): Use 1.1.1.1 DNS servers
-rw-r--r--configuration.nix6
-rw-r--r--stallo-configuration.nix5
2 files changed, 11 insertions, 0 deletions
diff --git a/configuration.nix b/configuration.nix
index b120961dfa56..36c7d4a8f363 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -24,6 +24,12 @@
   boot.kernelModules = [ "snd-seq" "snd-rawmidi" ];
   hardware.pulseaudio.package = pkgs.pulseaudioFull;
 
+  # Don't use ISP's DNS servers:
+  networking.nameservers = [
+    "1.1.1.1"
+    "1.0.0.1"
+  ];
+
   # Configure emacs:
   # (actually, that's a lie, this only installs emacs!)
   services.emacs = {
diff --git a/stallo-configuration.nix b/stallo-configuration.nix
index f7a41299c5cc..120544b1a312 100644
--- a/stallo-configuration.nix
+++ b/stallo-configuration.nix
@@ -18,5 +18,10 @@
         psk = "washyourface";
       };
     };
+    # IPv6 at home, of course:
+    nameservers = [
+      "2606:4700:4700::1111"
+      "2606:4700:4700::1001"
+    ];
   };
 }