I'm not offering medical advice.
From the people that I've seen that get inguinal hernias or have failed surgeries, it usually from doing some type of single leg exercises or activity. Pushing cars or sleds, single leg squats, grappling, dumbbell rows with a knee on a bench, etc. Don't see many fat power lifters with hernias. I'm not saying that you can't get a hernia from squats and dead lifts, it's not common either.
Follow you're doctors advice on recovery, but I'd also watch out for those lighter weight activities that involve applying power with one leg and opening the groin.