about summary refs log tree commit diff
path: root/configuration.nix
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 /configuration.nix
parent7f34861ef1c685af75a0a89449f005a04245ea16 (diff)
feat(config): Use 1.1.1.1 DNS servers
Diffstat (limited to 'configuration.nix')
-rw-r--r--configuration.nix6
1 files changed, 6 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 = {