hardware.alsa.deviceAliases

Assign custom names to sound cards.

Type
attribute set of string
Default
{ }
Example
{
  hdmi1 = "hw:CARD=videocard,DEV=5";
  hdmi2 = "hw:CARD=videocard,DEV=6";
}
Declared
<nixpkgs/nixos/modules/services/audio/alsa.nix>