Based on RedOrion's official forums post:
Add a line in your empires notes that says "happy: (planet name) OR (body ID)" to receive your christmas gift! For example "happy: 562607" or "happy: Clae 1" and make sure to include the quotation marks. Your individual empire notes can be found via the left Actions panel > Options > Notes tab.
Happy Christmas!