From c50e24a333bba4a5ee58281dcbf4deb97c338c96 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Wed, 5 May 2021 09:19:36 +0000 Subject: [PATCH] Force dns --- networking.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/networking.nix b/networking.nix index ae38442..e2cabb8 100644 --- a/networking.nix +++ b/networking.nix @@ -5,6 +5,9 @@ let in { networking.hostName = "local"; networking.nameservers = [ "1.1.1.1" ]; + environment.etc = { + "resolv.conf".text = "nameserver 1.1.1.1\n"; + }; networking.usePredictableInterfaceNames = false;