Since hausa koko is mostly carbohydrate, it does not affect your weight loss plan so much but lets see about the groundnuts
Groundnuts cause weight gain the same as any other food: their calories add-up if you don't watch the amount you consume. Like other snack foods, it's easy to eat more than you realize as you grab them out of the jar or bowl while you're doing other things. As long as you eat a moderate amount as part of a calorie-controlled diet, groundnuts can be part of your weight loss plan.
Contrary to what you might expect, eating groundnuts is not associated with weight gain. In fact, they may help you lose weight, notes researchers in the July 2010 issue of “Nutrients.” A review of existing research published in September 2008 in the "Journal of Nutrition" noted that consuming a moderate amount of groundnuts contributed dietary nutrients without posing a threat for weight gain. Early in 2010, researchers from Legon University published a review in the "Daily Guide" reporting that regular consumption of groundnuts was associated with an increase in resting energy expenditure. Something good for anyone who wants to loose weight. So you can eat groundnut but not overdose of it.