Nuclear spins in the Earth’s magnetic field