Q. Dear Rabbi, I’m wondering, while building the sukka, can I use a nail that sticking out of the wall of the sukka as a hook to hang my jacket? How about during Yom Tov?

A. The prohibition of not deriving benefit from noi suka decorations, begins with the onset of Yom Tov not before.
Horav Shlomo Miller’s Shlit”a opinion is that nails that support the suka although not considered decorations are part of the suka and therefore muktze lemitzvoso, yet they can be usually be used as one would use his home, as the mitzva is “teshvu kein taduru,” living in the suka, as one would do at home.
A nail placed for the purpose of hanging a decoration, but is not being used so now, can be used for the needs of one using the suka. (See similar rulings in Hilchos Suka 12: 14, and Halichos Shlomo 8: n. 28)

Rabbi A. Bartfeld as Revised by Horav Shlomo Miller Shlit”a