The nail gun is located in the unfinished shop in the North Plaza. You encounter it while progressing through case 5-1.