Preheat your oven to 375°F (190°C) and lightly grease a 9×13-inch baking dish with olive oil or vegan butter.
Prepare the cashew cream sauce by draining the soaked cashews and placing them in a high-speed blender with vegetable broth, garlic, nutritional yeast, lemon juice, salt, pepper, and nutmeg. Blend until completely smooth and creamy, about 1-2 minutes.
Heat olive oil in a skillet over medium heat and add sliced onions. Sauté for 5-7 minutes until soft and translucent but not browned.
Mix the sautéed onions into the cashew cream sauce along with the fresh thyme, and stir to combine thoroughly.
Begin layering your casserole by placing a single layer of sliced potatoes in the bottom of the prepared baking dish, slightly overlapping them.
Pour approximately 1/4 of the sauce over the first layer of potatoes, using a spatula to spread it evenly.
Repeat with remaining potatoes and sauce, creating 3-4 layers and finishing with sauce on top. Ensure all potato slices are covered to prevent them from drying out.
Cover the dish tightly with aluminum foil and bake for 45 minutes.
Remove the foil and continue baking for an additional 15 minutes until the top is golden brown and the potatoes are fork-tender.
Let the dish rest for 10 minutes before serving to allow the sauce to set slightly. Garnish with fresh chives just before bringing to the table.