Mix almond flour and baking powder in a bowl.
Add butter and erythritol, and mix.
Add eggs and vanilla extract, then knead the dough.
Break macadamia nuts into small pieces and mix them in.
Shape the dough into rounds and place them on a pan.
Bake in a preheated oven at 180°C for 20 minutes.