I'm slowly back riding after hernia repair surgery, though mine was an inguinal hernia so recovery rates may be very different. In fact, I suspect (and hope) you'll get back to "normal" much quicker than it's taking me!
In my case, my surgeon warned me to not try riding for 2 to 3 months post surgery
I admit, I thought that was kind of a ridiculously long time to wait, but I did wait three months and tried a very gentle ride. It didn't go very well - well, actually, I thought it was fine while I was riding, but in the middle of that night I had some pretty serious pain around my surgery area. So I waited for that to go down, then after several days when I felt ready I tried riding again, this time into work which is a mere 4 km. Halfway through that I realized that I wasn't ready for this. I got myself into work, then had to phone my wife to pick me (and my bike) up after work.
Slowly, I was able to get back to gentle riding. And I mean gentle! No Cat 6 racing, no cranking up hills, no pursuing a rider who's passed me, nothing but slowly riding my ride and resting whenever it seemed like a good idea. I literally rode like that for almost two months. Funny thing though: I found myself loving it, not being in any sort of hurry, just gently getting around on my bike at my pace and not caring at all about what anybody else was doing.
I'm getting close to my third month of riding, and now I'm feeling pretty good and I'm able to increase my distance and intensity gradually without causing problems. I'm still quite a long way from my "normal", but I'm able to do most things on a bike that I like to do and I'm incredibly thankful for that.
From what little I know, I think you'll probably get back much quicker from your surgery simply because of where your hernia is located. And I certainly hope you do!
Edit: just read your post again, and it seems pretty clear to me that you're going to have laparoscopic hernia repair (which wasn't a good option for mine) That just about guarantees you'll have a quicker recovery than me.