electromagnets also work as the earth has a magnetic field. a pair of reaction wheels can be rotated (which yes, adds complexity) opposite directions along an axis perpendicular to the axles once they have reached saturation, effectively resetting the reaction wheels