Bring the rice with turmeric to the boil in the water. Cover and simmer for another 12 minutes.
Pour the milk or coconut milk over the desiccated coconut and set aside.
Roast the nuts, curry leaves, mustard seeds and chilli in the ghee until the mustard seeds start to pop. Stir this mixture and the coconut flakes into the rice and drizzle with the juice of a lemon. Cover and cook again for 7-8 minutes until the rice is cooked through.
Season to taste and - depending on your taste - stir in the juice of the second lemon or garnish the rice with lemon wedges before serving.