Let me first give some background information on the art of inflating an evacuation slide. There are two ways to fill them:
- Expand gas from a high-pressure bottle: This will cool the gas as it expands, so ice may form at the aspirator outlets where sucked-in air and the expanding gas mix, blocking the flow of outside air into the slide. Also, storing compressed gas needs bulky and heavy steel vessels.
- Pyrotechnic gas generators which use an exothermic reaction to create a large amount of hot gas. They are more compact and lighter than a pressure vessel for the same amount of gas produced, but their hot gas could scorch the slide material and will contract when it cools down after the filling process, so a slide filled by a pyrotechnic gas generator will sag after a while.
Because of the disadvantages of both pure stored gas and pure pyrotechnic inflation devices, current state of the art emergency evacuation slide systems use a hybrid inflator, which comprises a stored compressed gas together with a pyrotechnic gas generator. The pyrotechnic gas generator augments the stored compressed gas by providing additional gas as well as heat to counteract the effects of the expansion-induced cooling of the compressed gas as it expands out of the pressure vessel.
Operation of a hybrid inflator
The typical gas generator uses solid ammonium nitrate which is electrically ignited and produces nitrous oxide (N$_2$O) and water (H$_2$O) when heated. Nitrous oxide will exothermically decompose into nitrogen and oxygen when heated above 650°C or 1200°F, so even more energy and gas is produced. Note that the decomposition of two moles of nitrous oxide will produce two moles of nitrogen (N$_2$) plus one mole of oxygen (O$_2$), thus adding 50% more gas volume. This hot mixture of nitrogen, oxygen and steam is then piped into the pressure vessel and mixes with the gas flowing out from it, thereby heating the emitted gas.
The pressure vessel contains gasses like nitrogen or carbon dioxide. Other candidates are argon or helium, but their higher price has held them back. To increase the yield from the pressurized gas, the trick with the nitrous oxide can be repeated here: By storing nitrous oxide in the pressure vessel, again 50% more gas volume can be produced from what is stored, while the exothermic decomposition produces additional heat that offsets, to some extent, the heating of the stored gas.
Nitrous oxide is also attractive because it offers the best manufacturability, storage and handling of the possible decomposable gas source materials. Although classified as an oxidizer, in practice it is generally nontoxic and non-corrosive and is relatively inert up to temperatures of about 200°C. Also, nitrous oxide, as compared to gases such as oxygen, nitrogen and argon, liquefies relatively easily at ambient temperatures - helpful when the gas in the pressure vessel is stored in liquefied form to reduce its bulk.
Heated to its decomposition temperature, pure nitrous oxide will undergo a rapid disassociation chain reaction unless a coolant gas is added to absorb some of the heat generated by the exothermic reaction. Therefore, the mixture in the pressure vessel contains 50% or more of carbon dioxide which has a latent heat of vaporization of approximately 66 Calories per gram. As a three-atomic gas it is better suited for this task than two-atomic alternatives. Thus, it does not serve as a diluent (as aeroalias wrongly states), it absorbs heat and stabilizes the disassociation process.
Why a mixture of nitrogen and carbon dioxide
Now we can answer your question: Nitrogen is contributed both by the pyrotechnic gas generator and by the compressed gas and is produced from the dissociation of nitrous oxide (N$_2$O). Carbon dioxide is added to dampen the exothermic dissociation and absorb some of the heat produced. Without it, the gas generator would experience a runaway chain reaction! Its concentration in the compressed gas is between 50% and 75%, so the concentration in the gas generator mix is around 35% to 50%.
The high speed flow of gas from the pressure vessel is now piped through an aspirator, which sucks in ambient air by using the Venturi effect, and from there into the slide. This contributes up to three quarters of the total gas in the slide, so most of the nitrogen in the slide is from ambient air. In the slide, the concentration of carbon dioxide is diluted to around 10% to 15%.

Aspirator (from BF Goodrich's US Patent 4368009). High-speed gas from the gas generator (red arrows) enters from the angled pipe on the left and pulls ambient air (blue arrows) with it when shooting from the nozzles on the right. Contrary to aeroalia's claims, an aspirator is not just another name for a gas generator, it is an entirely different thing altogether.