Nerdy boys largely get ignored by their non-nerdy peers. There's an attitude of "I don't know why anybody would like that, but whatever".
On the other hand, nerdy girls are treated like absolute shit by other girls. Instead of "not my cup of tea", it's more like "eww, that's disgusting, and you're disgusting for liking it". The movie Mean Girls could have been a documentary.
And adults can influence this too. Even well-meaning feminists are more likely to steer young girls towards careers in more "acceptable" professions like business, law, or medicine rather than something down-and-dirty like engineering. And if science is involved, it's likely to be either medicine or a research career in natural sciences (e.g. physics, chemistry).
Mean Girls was actually based on a book on helping your teenage daughter survive bullying in school ( https://en.wikipedia.org/wiki/Queen_Bees_and_Wannabes )...
Also those where the days of playing video games on home computers. Professional IT work was decades later.
And boys weren't the gate keeper to the technology either - how should that have worked? Today as then, if you are interested in doing stuff with computers, nobody can prevent you from doing it.
No many women don't like being hit on constantly by people. That's not the same thing as "not liking nerds".
My claim was that nerds back in the days of home computers would have been happy to meet a girl interested in computers. That is a far stretch from the Beavies and Butthead scenario you are trying to create. It's simply normal and healthy to hope for other human beings to share some interests with you.