The word meaning trifle, toy, tchotchke is correctly spelled as knickknack, with a doubled medial k. Avoid the uncommon variants nicknack and knicknack.