How about adding stars and the moon when dialing in night time values?
The physical sun and sky is meant to be a lighting solution rather than a full environment. There are plenty of ways to create a night sky, add a moon etc. which would give you far more control than having a procedural solution such as your suggestion.