Takeoffs from brand new bike
Full SRAM XO1 Eagle group- Best bang for you buck group as far as getting into 12 speed Eagle, saving a bunch of weight, at a price less than that top of the line XX1 group.

SRAM X01 Hollow 1295 cassette 10-50t
SRAM X01 Eagle 12 spd chain
SRAM X01 Eagle Shifter
SRAM X1 Carbon Crankset with 32t Eagle chainring (gxp spindle) 170mm arms
SRAM Level TLM brakes with Centerline rotors and hardware
180mm rotors.
Brake lines are 660 and 1400mm

Subtract $175 if you don't want the brakes and rotors