I work as a programmer & sysadmin supporting a solar physics archive. Although most scientists these days have to learn how to program to some degree (to be able to analyze their data), there's still a large number of IT people who work in these fields -- as programmers, sysadmins, DBAs, etc.
So, if you're in the Tucson, AZ; Menlo Park, CA; Princeton, NJ; or Seattle, WA area, keep an eye on the LSST hiring page.
There are likely to be other projects out there hiring, but I don't know what their various situations are. (I just know that LSST was soliciting at the last American Astronomical Society meeting). You can also look to universities, especially if you have kids (as future tuition benefits for dependants can be quite significant).
I know a hell of a lot more about astronomy & solar physics than I do before I started this job. I'm by no means an expert in the field, but my work does help the scientists do their research and improve our knowledge of the field.