Skip to content

Add IWD standalone option to network configuration + fix NM_IWD#4528

Open
h8d13 wants to merge 3 commits intoarchlinux:masterfrom
evoquus:feat-iwd-standalone
Open

Add IWD standalone option to network configuration + fix NM_IWD#4528
h8d13 wants to merge 3 commits intoarchlinux:masterfrom
evoquus:feat-iwd-standalone

Conversation

@h8d13
Copy link
Copy Markdown
Contributor

@h8d13 h8d13 commented May 7, 2026

This PR enables iwd to be picked standalone (WITHOUT the dep chain networkmanager → wpa_supplicant → pcsclite → polkit) which enables minimal seatd setups better.

iwd handles DHCP on the wireless link, systemd-resolved handles DNS ( Services: iwd.service + systemd-networkd.service + systemd-resolved.service) using stub symlink.

Would benefit from a small helper Installer.link_resolved_stub() since this is very similar to Copy from ISO option, but I limited scope there. (Perhaps for a follow-up).

Misc: was missing parse case for NM_IWD my mistake in PR #4025 saved configs with this type were silently falling through. L:131

Tests: Both cases several times over, check existence of config files in target, ping.

h8d13 added 3 commits May 7, 2026 14:52
Adds NicType.IWD as a third option alongside NM and NM_IWD: install
iwd, write /etc/iwd/main.conf with EnableNetworkConfiguration=true and
NameResolvingService=systemd, enable iwd.service + systemd-resolved.service.
iwd handles DHCP itself and resolved picks up its DNS via the symlink, so
no NetworkManager pulled in.

Also fills in parse_arg cases for NM_IWD and IWD so config files
round-trip both nic types.

Assisted-By: Flint
similar pattern to .network files shipped in /etc/systemd/network
@h8d13 h8d13 requested a review from Torxed as a code owner May 7, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant