diff --git a/etc/iwd/main.conf b/etc/iwd/main.conf new file mode 100644 index 0000000..8617884 --- /dev/null +++ b/etc/iwd/main.conf @@ -0,0 +1,6 @@ +[General] +# Increase the threshold to allow a worse connection, +# preventing early roaming to other access points. +# See: https://wiki.archlinux.org/title/Iwd#iwd_keeps_roaming +RoamThreshold=-75 +RoamThreshold5G=-80 diff --git a/install.sh b/install.sh index ff8cfc0..d705d49 100755 --- a/install.sh +++ b/install.sh @@ -328,6 +328,7 @@ install -Dpm644 "$DIR/etc/systemd/user-service-oomd.conf" /etc/systemd/system/us # Services configuration install -Dpm644 "$DIR/etc/networkmanager-mdns.conf" /etc/NetworkManager/conf.d/50-mdns.conf +install -Dpm644 "$DIR/etc/iwd/main.conf" /etc/iwd/main.conf install -Dpm644 "$DIR/etc/reflector.conf" /etc/xdg/reflector/reflector.conf install -Dpm644 "$DIR/etc/bluetooth.conf" /etc/bluetooth/main.conf install -Dpm644 "$DIR/etc/snapper-root.conf" /etc/snapper/configs/root