wsl manages resolv.conf
This commit is contained in:
@@ -1,11 +1,6 @@
|
|||||||
{ config, pkgs, ... }@all: with all;
|
{ config, pkgs, ... }@all: with all; {
|
||||||
{
|
|
||||||
# sops.secrets = {
|
|
||||||
# "wireless-networking.env" = {};
|
|
||||||
# };
|
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
nameservers = [
|
nameservers = pkgs.lib.mkIf (hyper.host != "NxWSL") [ # wsl manages resolv.conf
|
||||||
"1.1.1.1"
|
"1.1.1.1"
|
||||||
"8.8.8.8"
|
"8.8.8.8"
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user