Other people have a screen-sharing
option in the settings->sharing. But I don't have it. From this answer, I realized that the minimal installation is the root cause. Although I have tried that solution, it won't show for me.
I need that option for using obs screen-recorder on Wayland. This project needs that screen-sharing option to be enabled, so I can record the complete screen.
Late to the party, but: Install the vino package. It is the VNC server. After that your options will appear.