hardware.alsa.deviceAliases
NixOS option
Assign custom names to sound cards.
type: attribute set of stringDefault
{ }Example
declared in: nixos/modules/services/audio/alsa.nixView source on NixOS/nixpkgs →{
hdmi1 = "hw:CARD=videocard,DEV=5";
hdmi2 = "hw:CARD=videocard,DEV=6";
}