Question: do you need nintendo online to play digital games?
Answer: You can use your Nintendo Account to play your digital games on non-primary Nintendo Switch consoles, but the Nintendo Switch console must be connected online and other users on that console will not be able to play those games.