Add 1 cup chicken stock or vegetable stock to the Instant Pot.
Then add the sliced potatoes and cauliflower florets, over the stock.
Hit the Pressure Cook or Manual button on the Instant Pot and pressure cook the potatoes and cauliflower for 1 minute on the 'High' setting. Once the cooking cycle is complete, perform a quick release of pressure.
Take out the partially-cooked veggies and reserve the leftover stock.
In the empty Instant Pot, set to 'Sauté' mode and add a tablespoon of butter.
Add finely chopped onion and minced garlic cloves.
Sauté until the onions are translucent - for around 4- 5 minutes. Hit Cancel on the Instant Pot.
Add 1 cup heavy cream and stir it in. Then add paprika, nutmeg, thyme and stir it into the cream.
Add a 1+1/2 teaspoons of all-purpose flour and mix it in to form a smooth sauce. Break up any lumps that may form.(You can use a whisk for this).
Add 1 cup grated cheese.
Mix together all the ingredients to form a thick sauce. If your sauce is too thick, add some of the reserved stock to thin it out. After cooking the sauce for 3 minutes, turn off the Instant Pot.
Grease a baking dish with butter. Add the cooked potatoes and cauliflower to the baking dish.
Pour over the sauce, and keep this aside while you prepare the topping.