I've learned to lean heavily in to my nerdiness. I have just learned to accept it's who I am, and if that means I am not the dude who goes out after work for drinks (for various reasons), then that is the way it is (lots of relationships are formed there). I tend not to go out of my way to 'network', and have missed opportunities as a result, but it really just isn't me. I've forced myself on occasion to be better at it, but even after many years, it has not gotten deeply into me enough to become a habit.
Here's an example.
I'm very introverted, and was at a company outing many years ago. Myself and another dev who started at the same time at the company as me (a startup in Seattle) found ourselves sitting at a table with the investors of the company. I'm not one for idle chit chat, and really had no burning questions to ask them, so I talked to them very little. They asked very little of me as well. But, the other dev sitting with us was super outgoing and extremely socially engaging. He peppered the investors with questions and eventually they really opened up to him. Over the next year, he continued this at every company event they attended. Then they started inviting him to social events at their houses. Over time, one thing led to another, and he eventually ended up starting a new company with the investors and left our company. I heard he ended up selling the new company for some $$$.
There were lots of lucky breaks along the way I'm sure, but the point is, I compared myself to him and felt like a failure. But, the reality is, I am just not like that guy, and though he achieved financial success, it is entirely possible that he may not have. I ignore the other equally socially engaging folks I knew at the same time who did NOT end up starting and selling a company.
I am not that guy, and he is not me. My only true comparison is my past self. And compared to that guy, I'm doing pretty damn well.