I am residet of punjab and doing my 12th from Una, himachal Pradesh. am I eligible for home state quota of nit HAMIRPUR, himachal Pradesh
Yes, definitely. It does not matter from where you are or from where you have completed your class X examination. If you have completed your class XIIth examination from a particular state, you will be eligible for the home state quota of that particular state.
So in this situation let's say you are from Punjab, but have given your class XII examination from Una, Himachal Pradesh, then you will get the benefit of home state quota in NIT Hamirpur and not NIT Jalandhar.
Hope I have answered your question. All the best!