Simulating the atmosphere
I think what you want to do is mix whatever shader you are using for the earth's surface with a bluish shader towards the edges.



To do this just plug both shaders into a mix shader (like you already have), with the bluish atmosphere in the bottom socket.  Then control the mix factor with a Fresnel node.

]