1. Slice the chorizo into thin rounds and "degorge" it over medium heat in a casserole dish.
2. Drain the chorizo and add minced onion, salt, pepper, and herbes de Provence.
3. Sauté over high heat for 5 minutes. Add diced tomatoes.
4. Let it cook for 5 minutes. Add minced ham and tomato paste.
5. Let the sauce thicken over low heat for 10 minutes.
6. Meanwhile, cook the pasta, drain it, and set it aside.
7. In a baking dish, pour half of the pasta, cover it with a thin layer of grated cheese, spread the chorizo mixture on top. Cover with the second half of the pasta, another layer of grated cheese, and bake it in the oven (200°C) for 20 minutes until the cheese is golden brown.