<p>If your main goal and interest is in environmental science, I would say major in that. The computer part is that it is becoming an essential tool for scientific research. My approach was to minor in computer science, and also learn computer/programming things on my own, online, and in the lab.
If you are worried about jobs, though, computer science definitely has more job opportunities than environmental science.</p>