Preheat your oven to 375°F (190°C). Lightly grease a 9-inch pie plate or a small casserole dish.
Cut the pressed tofu into small, bite-sized cubes or sticks.
Using a French fry cutter can help create uniform pieces.
In a large mixing bowl, whisk together the eggs and heavy cream until smooth.
Stir in the shredded cheddar cheese and all the seasonings: onion powder, garlic powder, dry mustard, nutmeg, cayenne, salt, and pepper.
Gently fold the tofu pieces into the cheese mixture, ensuring each piece is evenly coated.
Transfer the entire mixture into your prepared baking dish and spread it into an even layer.
Bake for 30 to 45 minutes, or until the top is golden brown and the casserole is set and bubbly.
Let it cool for a few minutes before serving.