Moses wrote the Noah story. God inspired it.
How about God dictated the Noah story, Moses copied it, God proofed it, and St. Peter quoted from it to the scoffers in his own time? (see II Peter 3: 3-7)