Olympique Marseille handed Nice their first home defeat of the season with a 2-0 win in their Mediterranean derby in Ligue 1 on Sunday.