summaryrefslogtreecommitdiff
path: root/machines
diff options
context:
space:
mode:
Diffstat (limited to 'machines')
-rw-r--r--machines/wsl.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/machines/wsl.nix b/machines/wsl.nix
index 09e674b..d2b7b58 100644
--- a/machines/wsl.nix
+++ b/machines/wsl.nix
@@ -52,7 +52,7 @@ in
enable = true;
defaultUser = "mike";
wslConf.network = {
- generateResolvConf = true;
+ generateResolvConf = false;
};
};
@@ -125,6 +125,8 @@ in
EnvironmentFile = "/wsl/dockerd/environmentfile";
};
# TODO: why does this not work with etc."resolv.conf"??
+
+ networking.resolvconf.enable = false;
environment.etc."/resolv.conf".source = "/wsl/etc/resolv.conf";
environment.etc."profile.local".source = "/wsl/etc/profile";
security.pki.certificateFiles = [