From eab23ce91281fdcad9d2d27d7722b22e2f6a8f3c Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 28 Apr 2018 17:45:36 +0200 Subject: [PATCH] feat(config): Use 1.1.1.1 DNS servers --- configuration.nix | 6 ++++++ stallo-configuration.nix | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/configuration.nix b/configuration.nix index b120961df..36c7d4a8f 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 f7a41299c..120544b1a 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" + ]; }; }