In a bowl, mix flour with sugar and butter until you obtain a dough.
Slice your peaches.
Place your peaches into a dish that fit in your Instant Pot and add the dough on top. Note: This doesn't have to look perfect!
Cover with foil.
Pour water to your Instant Pot place a trivet.
Place the dish on the trivet.
Cook at high pressure for 10 minutes.
When cooking time ends, wait for a natural pressure release.
Once done, open the lid and dish out.
Sprinkle with nutmeg and cinnamon and serve warm.