Finely dice the shallots, grate the garlic and roughly chop the pasta. Heat the vegetable stock and keep it warm.
Fry the onions, garlic, bacon and boiled ham in the oil, then add the pasta. Deglaze with 100 ml white wine (or broth if children are also eating). Pour in 1/3 of the broth. Gradually pour in the rest of the broth while stirring.
The noodles are cooked for a total of about 12 minutes. Add the peas 5 minutes before the end of the cooking time. Season to taste with pepper and salt. Stir in the grated parmesan.