Your actions are good IMO. Parents shouldn't set bad examples when it comes to certain issues. We'll be bad enough examples on other things without meaning to be.
I enjoyed a good beer once in while, but I don't think my kids saw me take a drink more than a couple of times when they were young.
Yeah it's a firm belief in monkey see monkey do. The one really bad habit I have is I smoke (outside) and the wife has set New Years as the end of that (oh well....)