Bathroom Ceiling Outlet installation from Attic
All receptacles in a bathroom are required to be GFCI protected. As far as the location away from wall there is no requirement on that it could be touching the I have put them in a corner touching or almost touching 2 walls.