Leave Wi-Fi to NetworkManager when archinstall turned on iwd as well
shellcheck / shellcheck (push) Failing after 14s

archinstall's "Copy ISO network configuration", which a user who connected
with iwctl may pick, turns on iwd and systemd-networkd. CoreDesktop then
turns on NetworkManager too, and after a restart two services fight over
the Wi-Fi card. system/wifi.sh disables iwd and systemd-networkd, without
stopping them, when NetworkManager is enabled and isn't set to use iwd
itself. install.sh runs it, and a migration runs it on existing machines.
The README tells users to choose NetworkManager in archinstall.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-07 13:46:32 -07:00
co-authored by Claude Opus 5.5
parent e958e20431
commit cf862ecab0
5 changed files with 115 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
#!/bin/bash
# Machines set up with iwctl and archinstall's "copy ISO network configuration"
# can have iwd and systemd-networkd running alongside NetworkManager, fighting
# over the Wi-Fi card. Leave Wi-Fi to NetworkManager alone.
bash "$HOME/.local/share/coredesktop/system/wifi.sh"