diff --git a/dsl.nix b/dsl.nix index ab4be0e..871e4ef 100644 --- a/dsl.nix +++ b/dsl.nix @@ -553,10 +553,10 @@ rec { Destination = "0.0.0.0/0"; Gateway = hostAddr; }; + networkConfig.DNS = [ hostAddr ]; linkConfig.RequiredForOnline = if allowInternet then "routable" else "degraded"; }; networking.enableIPv6 = false; - networking.nameservers = [ hostAddr ]; }; }; });