My new setup with wireguard on nixos and with systemd-networkd took a little bit time, but here is how I did it