Cook rice with a few drops of oil, turmeric and salt. Make sure not to overcook the rice.
Heat 2tbsp oil (or a combination of oil and ghee) in a pan; add the peanuts and cashews and fry till lightly golden. Remove onto a plate and set aside.
In the same oil, add the tempering ingredients and saute till golden and the seeds start sputtering.
Add curry leaves, green chilies, potatoes and cook till they are tender. I usually microwave the potatoes to make the cooking part faster.
Once the potatoes are done, add it to the rice along with the roasted peanuts and cashews. Add lemon juice and mix well. Taste and adjust the seasonings accordingly. Serve with fried majjiga mirapakayalu.