Home : Use stuff : Make your own : Insect repellent : Vanilla extract
Simply mix together and apply to the skin. You can also place some neat vanilla extract in a small open container where the gnats tend to congregate and this will keep them away.