Max Distance for Sky Lights?

Does anyone know if I can set a max distance to a Sky Light?

I basically only want it to affect an smaller area in a specific place.
If I could plug a light function into it I could do it but it doesn’t seem to support those.

Cheers, Fred