Preheat oven to 350F/175C.
Grease and flour 2 x 6 inch baking tin.
Sift together flour, cinnamon, nutmeg, baking powder, baking soda, and salt.
In your mixer, beat sugars and oil together.
Add eggs one at a time, then vanilla, and beat until smooth.
Add dry ingredients into mixer bowl, and beat until just combined.
Fold in grated carrot and chopped walnuts. Do not over-mix!
Divide batter into prepared pan, and bake for 25-30 minutes or until skewer inserted comes out clean.
Allow to cool in pan for 5 minutes, remove from pan to cool completely on wire-rack before frosting.
Level off the top of the cake before frosting.