Roofing nails should be driven flush with the surface of the roofing material. The exact depth may vary slightly depending on the roofing material and the manufacturer's recommendations. Still, the nail should typically be just below the surface to ensure a secure hold without causing damage or creating potential leak points.