The Battle of Jakku was the decisive fight that ended the Galactic Empire, there’s no reason to believe Luke Skywalker would not have continued the fight until it was over.
The story would have almost certainly had the more fantastical elements added over time, and so perhaps the truth is much simpler, that Luke Skywalker was fighting at the Battle of Jakku.
Of course, even the most embellished tale had a starting point, and some of the truth of the actual events likely survived.
He was one of the best pilots in the Rebellion and a Jedi Knight to boot.