Par-Bake the Crust. Preheat your oven to 425°F. Follow the instructions for par-baking your gluten-free crust in a 9-inch pie plate on the bottom rack of the oven. Once finished, remove the crust and reduce the oven temperature to 350°F.
Whisk the Custard. For the best results, ensure your eggs and dairy are at room temperature. In a large bowl, whisk together the heavy cream and sour cream until the mixture is smooth and thick. Add the six eggs, garlic powder, salt, and black pepper. Whisk until well combined, then set the mixture aside while you prepare the filling.
Prepare and Clean the Leeks. Slice off the root ends and the dark green tops of the leeks. Slice the white and light green cylinders in half lengthwise, then slice each half again into quarters. Slice crosswise into small pieces. Soak the leeks in a bowl of water to remove any grit, then rinse in a colander and pat dry.
Cook the Bacon. Add the chopped bacon to a large skillet and cook over medium heat until crisp (about 12 minutes). Transfer the bacon to a paper-towel-lined plate. Reserve one tablespoon of bacon grease for the leeks, then wipe out the skillet clean.
Sauté the Vegetables. Return the tablespoon of reserved bacon grease to the cleaned skillet over medium heat. Add the leeks and a pinch of salt, sautéing until tender (about 8–10 minutes). Stir in the minced thyme and let the herbs "bloom" for one minute until fragrant. Add the chopped spinach, turn off the heat, and toss until the spinach is just wilted. Set the vegetables aside to cool slightly before adding them to the custard.
Layer the Cheese. Sprinkle two-thirds of the Gruyère across the bottom of your par-baked crust. This creates a savory barrier that helps prevent the custard from soaking into the crust, ensuring your quiche has a perfect, flaky finish.
Assemble the Quiche. In your large bowl, gently fold the sautéed leek and spinach mixture, the crispy bacon, and the remaining Gruyère into the egg custard. Pour the filling into the par-baked crust. If needed, use a fork to evenly distribute the vegetables and bacon so every slice of your quiche is perfectly balanced and smooth on top.
Bake and Serve. Apply a pie shield to the crust edges to prevent over-browning. Place the quiche on a baking sheet and bake on the bottom rack for 45–55 minutes, or until the center reaches 175°F (in my oven, it is fully baked around 50 minutes). Once baked, remove the quiche from the oven and let it rest for at least one hour before slicing; this allows the custard to set perfectly. This gluten-free quiche can sit out for 2–3 hours before it needs to be refrigerated.