Preheat oven (electric cooker: 200 °C/recirculating air: 180 °C/gas: see manufacturer). Mix coconut milk, tomatoes, pesto and 100 ml water in an ovenproof dish (approx. 1.7 l capacity). Season with salt, pepper and 1 pinch of sugar.
Drain the chickpeas. Peel and chop onion and garlic. Put the chick peas, onion, garlic and pasta into the casserole dish and mix with the sauce. Clean and wash the zucchini, cut in half lengthwise and place on the pasta.
Chop the nuts, mix with 1⁄2-1 tsp. chili flakes, coconut flakes and butter. Spread on the casserole. Bake in the hot oven on the lower shelf for about 35 minutes.