mirror of
https://github.com/nix-community/NixOS-WSL.git
synced 2026-11-07 14:59:35 +00:00
Do not enable resolvconf if generateResolvConf is set to false
This commit is contained in:
@@ -147,7 +147,7 @@ in
|
||||
networking.dhcpcd.enable = false;
|
||||
|
||||
# disable resolvconf if WSL is managing it
|
||||
networking.resolvconf.enable = !config.wsl.wslConf.network.generateResolvConf;
|
||||
networking.resolvconf.enable = mkIf config.wsl.wslConf.network.generateResolvConf false;
|
||||
|
||||
users.users.${cfg.defaultUser} = {
|
||||
isNormalUser = true;
|
||||
|
||||
Reference in New Issue
Block a user