summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-01-25 22:16:58 +0100
committerAdrian Kummerlaender2019-01-25 22:16:58 +0100
commitf6bf2a673416dbe06fbc0c705c898cc1edab48b8 (patch)
tree4a083c35fa4ec1f6aaac675c5134fa61f62e3a95
parent6dcb863a291bb2152fd0ecb2c9f43a7aefcedd33 (diff)
downloadnixos_system-f6bf2a673416dbe06fbc0c705c898cc1edab48b8.tar
nixos_system-f6bf2a673416dbe06fbc0c705c898cc1edab48b8.tar.gz
nixos_system-f6bf2a673416dbe06fbc0c705c898cc1edab48b8.tar.bz2
nixos_system-f6bf2a673416dbe06fbc0c705c898cc1edab48b8.tar.lz
nixos_system-f6bf2a673416dbe06fbc0c705c898cc1edab48b8.tar.xz
nixos_system-f6bf2a673416dbe06fbc0c705c898cc1edab48b8.tar.zst
nixos_system-f6bf2a673416dbe06fbc0c705c898cc1edab48b8.zip
Add some default nameserver
e.g. the last couple of days my home internet connection seemed to be more sluggish than usual. This turned out to be caused solely by a issues with the default router nameserver.
-rw-r--r--configuration.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/configuration.nix b/configuration.nix
index 294a65a..f501add 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -18,6 +18,11 @@
nixpkgs.config.allowUnfree = true;
+ networking.nameservers = [
+ "1.1.1.1"
+ "2606:4700:4700::1111"
+ ];
+
programs = {
bash.enableCompletion = true;
gnupg.agent = {