IPSec VPN configuration examples

Highly respected community,

I’m trying to configure IPSec IKEv2(no L2TP) VPN server on my NixOS system.

Could someone please share successful configuration examples involving strongswan, libreswan, or any other IPSec VPN server, available in NixOS?