The number of ways to put N identical items into K different cells is .
That is proven using the "stars & bars" as you suggested.
In your problem the identical items are the choices and the different cells are the varieties of doughnuts. But we have the requirement that no cell be empty. So put one of each variety in the box. Now count the number of ways to make an addition seven choices: .