Pinch Zoom in/out configure using libinput-gestures package

Needed help with the correct method to configure libinput-gestures package for pinch Zoom in/out:

https://search.nixos.org/packages?channel=23.11&from=0&size=50&sort=relevance&type=packages&query=Libinput+gestures

I’m open to hear alternate/better suggestions to achieve the same