City, Atmos agree to deal