Yazen, it isn't quite that straightforward unfortunately. For certain controller/codec, using the "wrong" model quirk combinations (due to hw bugs) will lock the machine, which essentially kills this sort of automation. (I tried such an approach in 2006.)
I'm a bit wary of the model quirk mentioned above because it depends on a working bios (which tends to be more rare than I care to admit for HDA) and also sets the wrong mic pin. If model=6stack-dell does indeed result in working playback *and* capture for your machine, we'll also need lspci -nv from Yazen.