MyNixOS website logo
option

hardware.alsa.deviceAliases

Assign custom names to sound cards.

Declarations
Type
attribute set of string
Default
{ }
Example
{
  hdmi1 = "hw:CARD=videocard,DEV=5";
  hdmi2 = "hw:CARD=videocard,DEV=6";
}