How can I associate collections with different view layers?
It should be pretty straightforward.
I didn't understand the shortcut you used to disable collections from your question. This is how you exclude collections from view layers in the outliner :