When I tell them (the enviro-nazis) that my Christmas Lights are all solar-powered, I am quite certain that they will then go on a rant about how the making of solar panels is environmental unfriendly. These ‘people’ are Mrs Grundy-types, their need is to be the superior morality person. They are never satisfied, will never be satisfied and, as for me and my house, they can stick their version of morality up their collective keisters!
“Virtue signaling behavior” is the term you’re looking for.