Were the Nazis fascists or socialists?

They were the national socialist party, but nazi Germany was obviously a totalitarian state, not a socialist state. Hitler even got most of his ideologies from Mussolini. So was he and the german nation socialist or fascist during WW2?
Update: I'm debating someone right now and he's convinced they were socialists.
16 answers 16