I know I'm much less likely to slack off at university than at home. And that's after the distractions.
There are lots of cool things you can do, though, that aren't socializing. Student ID gets you into all kinds of university shows and concerts and plays and speeches for free. Since we had film and special effects departments, my university used to bus us to special screenings of all the high-budget FX films when they came out, like LotR and Star Wars. And there are clubs for things like computer gaming, so if you do decide to socialize, you can at least know it's with people who are interested in the same things you are.