I'm a PA student so I'm guessing we have similar curriculums. I had surgery over the summer (the 9th of May) and started online classes 2 weeks after with no problem. A little over one month out I was feeling very much myself. I was a little weak and easily tired, but was able to go to summer classes and returned to work (I probably could have gone back to work around 2 weeks out, but I decided to take it slow). By 2 months post op I started going to the gym, got a personal trainer, and started low intensity cardio/ strength training. 3 months post op I was able to climb a 60 foot rock wall.
When you say nursing school, is it all classroom stuff for you right now? If so, you'll have no problems. If you're doing clinicals, you'll definitely be able to do them after surgery, but I didn't find that I had the stamina for that much walking and standing until around 2 months post op. Everyone's recovery is different, but trust me: once the weight starts coming off, you'll likely have more energy than you started with