Defining VPN connection in nm-manager

Hey folks,
I’ve been trying to define VPN connection in nm-manager, but could not find the place where it can be done.
What I tried is:

networking = {
    openconnect = {
      interfaces = {
        test = {
          gateway = "vpn.blablabal.com";
          protocol = "anyconnect";
          user = "myuser";
        };
      };
    };

But that doesn’t create connection in the network manager, so I assume that creates VPN connection elsewhere. Do some of you define VPN connection in the nm-manager in your configs? Can you share your experience? Thank you!

you might want to have a look at the documentation of the networking.networkmanager.ensureProfiles.profiles option