Network manager plugin for Wireguard working with Ubuntu 22.04 and Pop!_OS 22.04.
This fork is intended for ease of use of ProtonVPN users that want wireguard support in the Network Manager.
sudo apt install wireguard git dh-autoreconf libglib2.0-dev intltool build-essential libgtk-3-dev libnma-dev libsecret-1-dev network-manager-dev resolvconf
git clone https://github.com/Chillsmeit/network-manager-wireguard-jammy
cd network-manager-wireguard-jammy
./autogen.sh --without-libnm-glib
./configure --without-libnm-glib --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/NetworkManager --localstatedir=/var
make
sudo make install
Login to your ProtonVPN https://account.protonvpn.com/
Go to Downloads → WireGuard configuration (scroll down)
Create a name for your config → Select region and server → Create
Now open settings → Network
Import the config file you created