about summary refs log tree commit diff
diff options
context:
space:
mode:
-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"
+    ];
   };
 }