We are pretty much set on relocating to California no matter what since my SO has sacrificed that opportunity for me when I started the MD/PhD program. I know everyone will say that it is a terrible idea to be geographically limited while applying for derm, but I think it is important enough for his career that I really need to figure out a way to be there as well.
I know the Bay area is *ideal* for tech, but there are tons of other fantastic cities with major tech offices, so definitely make sure you've explored all of those areas as well. My SO's in tech, and he has job offers for next year from Google in Pittsburgh, Amazon in Detroit, Microsoft in Salt Lake City--cities that I wouldn't have thought were big tech hubs sometimes have really awesome opportunities. Other big non-CA tech cities are Austin, Seattle, Raleigh...he might not be able to stay with his current company, but there are great tech jobs all over the country. If you don't have that strong of a preference for derm vs. IM, then sure, follow your SO wherever. But if you really want to do derm, then just know that there are lots of cities outside of California with derm residencies and cool tech companies! Best of luck!