Add the oil in a pan on medium heat. Add the mustard seeds, curry leaves, green chilies and wait until the mustard seeds stop popping.
Add the chopped onion and saute until translucent.
Add the peanuts or walnuts and potatoes. Cook for 2-3 minutes until potatoes begin to soften.
Add the riced cauliflower, peas, salt, and turmeric, and mix all ingredients together.
Cook for 8-10 more minutes until soft, fluffy, and fragrant. Add lemon juice at the end and garnish with chopped cilantro.
Serve hot!