Preheat oven to 350F and grease an 8x11 baking dish.
Slice peeled potatoes very thin, about 1/8 inch thick. Line them up in casserole dish, they should be close together and overlapping.
In a saucepan, heat avocado oil and shallot over medium-high heat. Cook for two minutes and then add garlic, nutmeg, thyme, salt and pepper. Let cook for about 4-5 minutes or until softened.
Turn off heat and stir in almond milk. Pour mixture evenly over top sweet potatoes.
Add shredded gruyere evenly overtop of potatoes.
Cover with foil and bake for 40 minutes. Take foil off and bake for 20 more minutes.
Broil 4 minutes more to make cheese brown slightly, keeping an eye closely on it.
Let sit 20 minutes before eating.