Try to remember that the solvent is always in larger quantity than the solute; I remember it by knowing that solvent has more letters, so it is in larger quantity.
Therefore, nitrogen would be the solvent and the oxygen would be the solute.
Hope this helps.