diff --git a/install/config/network.sh b/install/config/network.sh index c7ef33c4..ce726810 100644 --- a/install/config/network.sh +++ b/install/config/network.sh @@ -4,7 +4,12 @@ # This can happen if archinstall used ethernet if ! command -v iwctl &>/dev/null; then yay -S --noconfirm --needed iwd - sudo systemctl enable --now iwd.service + + if [ -n "${OMARCHY_CHROOT_INSTALL:-}" ]; then + sudo systemctl enable iwd.service + else + sudo systemctl enable --now iwd.service + fi fi # Prevent systemd-networkd-wait-online timeout on boot