How to distribute objects ONLY on vertex groups in geometry nodes?
OK It's the final edit. I promise
This method works in blender 2.93 Alpha(I don't know about version 2.92)
All you have to do is set the density attribute to material_index and voila your work is done, no weight paint required, it assigns density on the basis of material used.
Screenshot: