The debian installer detects hardware that needs nonfree firmware and shows the user which package name to install.
On the nonfree version of the Debian live CD the calamares installer already installs all nonfree firmware packages. Now sure were it gets the list from. -- regards Thomas