To pair any controller with the Switch 2 you’ll need the console powered on and updated to the latest system software.
Gaming on a Linux or Android-based handheld can come with a lot of variety, but also takes more setup work than just slapping a cartridge in a Game Boy.