I think an evil deity with the Sun domain is problematic. Flavour-wise, it's fine -- I don't see that the sun has to be inherently good, although it being a source of light at least makes that plausible. But mechanically speaking, how do you use the Sun domain ability (to improve undead turning) if you don't channel positive energy?