References:
Install
sudo pacman -S --needed networkmanager
(Optional) If you are using networkd and iwd to connect to the network, first disable them with
sudo systemctl disable iwd.service
sudo systemctl disable systemd-networkd.service
(You may want to stop the services, but it doesn’t seem necessary.)
Enable
sudo systemctl enable NetworkManager.service --now
On a terminal, configure the connection with nmcli:
List nearby Wi-Fi networks:
nmcli device wifi list
Connect to a Wi-Fi network:
nmcli device wifi connect SSID_or_BSSID password password
Get a list of connections with their names, UUIDs, types and backing devices:
nmcli connection show
(Optional) To provide integration with a desktop environment, install an applet.
For hyprland:
sudo pacman -S --needed network-manager-applet
For KDE plasma:
sudo pacman -S --needed plasma-nm