Two porous Ni-MOFs based on 2,4,6-tris(pyridin-4-yl)-1,3,5-triazine showing solvent determined structures and distinctive sorption properties toward CO2 and alkanes.