It can also be made by reacting nitrogen with lithium dissolved in sodium . It can be formed by direct reaction of the elements , either by burning lithium metal in pure nitrogen gas or by reacting nitrogen gas with lithium dissolved in liquid sodium metal .