Source: https://gist.github.com/stonebyte/4d2beac1460449b4cf9dd6e921865a45

Commands::

  $ nmcli connection import type wireguard file /etc/wireguard/wg1.conf
  $ nmcli connection modify wg1 connection.id warp-vm