We will put an SRAM Eagle on it. Does it need the boost version of the crankset or is the frame already takes care of the 52mm chainline?
The groupset was bought complete, but I'm wondering the crank need to be exchanged.
The BB is BB92, and the width of the BB shell is... 92mm !
The others are correct. The standard offset it 6mm, boost is 3mm, and BB30 cranksets use 0mm offset. If you have a BB92 bottom bracket, definitely get the 3mm offset. With the BSA stuff, you can shift a GXP crank inboard by using a non drive side bb spacer so you can essentially use a 0mm offset ring with one NDS spacer and still be good. But with the BB92 bb, you can't do that. So you really should get the right offset chainring.
As far as the crankset itself goes, you just need a GXP BB92 bottom bracket. It will need to be pressed in but otherwise, all Sram GXP cranks will work once it's installed. My daughters bike has a BB92 bottom bracket and a Sram Stylo GXP crankset that was previously installed on my SS with BSA bottom bracket.
I am big fan of the Sram GXP setup. For me, it has been perfect and I have 5 bikes at home with cranksets that are completely interchangeable. Well, sort of, my daughters is a bit short at 150mm.