Permanent hard boil in the eye lid seems from the history that it is probably because of blockage of one of hte glands of the eye lids.
The commonest swelling of the eye lid being chalazion
. This is more common in cases of poor facial hygiene which you have mentioned in your history.
The treatment is by hot compress and antibiotic eye drops in small swellings. However larger swellings may require a minor surgery including incision of the lesion.
Please do consult your eye doctor for further treatment.