I have a Scott Genius 920 -18, that has following parts standard:

Cranks: SRAM X1 1000 Eagle GXP Boost PF, QF 168
Bottom bracket: SRAM GXP PF integrated, 41x92mm shell
Cassette: SRAM GX, XG1275, 10-50 tooth
Rear Derailleur: SRAM GX Eagle, 12-speed

I am planning to upgrade the cranks to XX1 and the cassette to a XX1 to save some weight.

Will this fit bolt-on? Or do i need something more/else?