embrace your inner nerd, but please bring out your inner man with a few activites.. Have a nice glass of whiskey once in a while (jameson/canadian club). Lift some weights with serious intent to get stronger or look better.
Go hiking, read some manly books. Do some sprints once a week, on hills or you're a *****.
Eat a big fat ass piece of grilled steak at least 1-2 a week. tip olive oil + black pepper+cumin grill, then after add your salt.
Learn how to cook.
Pick up a mixed martial art a few times a week....I recommend muay thai cause you get to learn how to properly kick or elbow some one in the face multiple times.
Pick up some suave dancing lessons...Damnit I ****in' want to learn west coast swing dancing so legit!!
Go shoot a gun at a firing range.
Put up pictures of real men on room walls/fridge who inspire you, but put some pics of hawt women by em to so people don't think you caught the ghey ( i recommend Jamie Eason)
When you start thinking like a nerd, just tell yourself it's ok, yet ask yourself if you have done anything productive to get your mind off school and your nerdiness for a bit. Some of the aforementioned activities should help. If you're a nerd don't be ashamed, I think all men have a bit of nerd in em some more than others obviously. As long as you're not like a full blown Star Trek convention visiting dungeons and dragons gate keeper mofo you should be fine