I always flew at night with the flight deck flood lighting on after TOC and off about fifteen minutes before TOD, (it reduces fatigue), your eyes are only focused about nine inches the other side of the windscreen at night, unless you are actually focused on something particular, so it is not a safety issue, TCAS is your friend. This lighting combined with the individual overhead light was, I found, sufficient right up to retirement, with eye sight to match!
Would the wrap around type of sunglasses cure the solar sod's law?
Wrap Around Sunglasses