When I bought my (pre-owned) Nexus One, it came with CyanogenMod.
I would like to change it back to Google's official 2.2 (or 2.3) Android.
What does this entail and how do I go about doing this in the safest possible way (e.g. with bricking it or any other side-effects)?