PSG came away from the Cote d'Azur with a hard-fought 2-1 victory at Nice, to extend their winning run in Ligue 1 to nine matches.