In the sentence you spend time doing nothing is 'doing' a verb?

Yes.

The verb pattern in this sentence is: n + verb + noun + verb-ing.

The verbs are spend and doing

nouns are you (pronoun) and time