I think what @AllenWitmerMiller shows is that the local flood interpretation is not ruled out by 2 Peter 3 due to Peter’s use of ge and kosmos. From the text, it seems very possible that when Peter thought of Noah’s Flood when writing that text, he was primarily thinking of it as an event which destroyed the world of people. That’s what’s relevant to his main point in this passage anyway - people in Noah’s time scoffed when he was building the Ark, because they didn’t believe that God would judge them. Similarly, some people today do not believe that Jesus will return again one day and judge them.
Now, this doesn’t necessarily rule out the global flood interpretation either, because a global flood would destroy both the world of people and the physical earth. Rather, this text by itself underdetermines the matter. And that’s a really good example of how some details of stories in the Bible are neither revealed to us nor required for understanding the story’s teaching.