Their motivations were still racist and bad, but the Nazis in Germany were not anti-environment.
Unless you mean modern Nazis, at which point ok maybe I haven’t really researched modern Nazis. I know the people they support certainly are, whether they admit they’re Nazis or not.