First, heat a heavy bottomed pot on medium high, and add in the coconut oil.
Heat the oil through until it shimmers a little (it should pool from the sides of the pot), and add in the onion, carrot, and the salt. Stir a little bit, then move the heat to medium low, cover, and cook the onions until translucent, about 3 minutes.
Add in the lentils, water, and bay leaves. Mix well and bring to a simmer.Lower the heat to maintain the simmer, cover partially, and simmer until the lentils are cooked thorough, about 25 minutes. Add more boiling water if it evaporates and becomes too thick.
When it's done, add the lemon and adjust the salt content to taste. At the end, in each dish, add the nutritional yeast, some more lemon per your taste, and serve with chili flakes.