How to add eclipse with plugins pre-installed

Hi there!
I’m quite new to NixOS and I was wondering how to make a custom Eclipse installation similar to how you can make custom VSCode and VSCodium installations pre-bundled with extensions.

I found out that home-manager has the “programs.eclipse.plugins” option, but I don’t know what the correct way of implementing it would be, and I also wasn’t able to find any relevant resources.

Thanks in advance for any help

it is a list of packages
they can either be in nixpkgs or you can package a plugin yourself like described here