Wireguard on Solus

Dependencies

sudo eopkg it -c system.devel
sudo eopkg install libmnl-devel
sudo eopkg it -c kernel.devel
sudo eopkg install libelf-devel

sudo eopkg install jq # for install scripts

Download repo

cd ~
git clone --depth=1 https://git.zx2c4.com/WireGuard

Add this to your .bashrc or .zshrc

alias wg-rebuild='cd ~/WireGuard/ && git pull https://git.zx2c4.com/WireGuard && cd src && make -j8 && sudo make install && make clean'

Then, run wg-rebuild. You may have to run this after kernel update.

Thanks