How to replace nether dimension generation with custom superflat world type

Im trying to make a datapack that changes the nether dimension's generation to a superflat world type that i can customise.
Continue to help post