hardware.alsa.deviceAliases

NixOS option

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 in: nixos/modules/services/audio/alsa.nixView source on NixOS/nixpkgs →