Skip to content

fix(modules/wsl-distro): disable resolvconf if managed by WSL - #1044

Merged
K900 merged 1 commit into
mainfrom
resolvconf
Apr 28, 2026
Merged

fix(modules/wsl-distro): disable resolvconf if managed by WSL#1044
K900 merged 1 commit into
mainfrom
resolvconf

Conversation

@K900

@K900 K900 commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

nixpkgs added an assertion for this.

@K900
K900 enabled auto-merge April 28, 2026 16:28
@K900
K900 merged commit d2e0922 into main Apr 28, 2026
35 checks passed
@K900
K900 deleted the resolvconf branch April 28, 2026 16:37
@FlorianFreudiger

Copy link
Copy Markdown
Contributor

Problem: This also has the exact opposite effect:
If wsl.wslConf.network.generateResolvConf = false;
then networking.resolvconf.enable is set to true instead of it's default value.

Which in turn breaks my config since I use systemd-resolved, not resolvconf to manage my /etc/resolv.conf.

@mdaniels5757 mdaniels5757 added the bug Something isn't working label Jun 5, 2026
@nzbr nzbr changed the title modules/wsl-distro: disable resolvconf if managed by WSL fix(modules/wsl-distro): disable resolvconf if managed by WSL Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants