RIS-Assisted D2D Communication over Nakagami-m Fading with RSMA | Synapse