Sierra Nevada fills the bill, but the resort is drab and unattractive. Most skiers drive up from Granada to ski; the resort is dead at night and the couple of hotels are renowned for overcharging. A good many apartments were sold in Sierra Nevada to investors, but they are mostly empty during the season.
If you want the combination of sun and skiing, buy in Granada itself, or down on the coast at Motril or anywhere within an hours drive of Sierra Nevada. Don't buy up in the resort.
Another poster described the skiing as poor, but this year a few good dumps of snow left it in the "not bad at all" category. At one stage there was about 60 km of good skiing available, all good quality snow. I accept though that not all years are as good as this one.