hardware.alsa.cardAliases
Assign custom names and reorder the sound cards.
You can find the card ids by looking at /proc/asound/cards.
- Type
attribute set of (submodule)- Default
{ }- Example
{ soundchip = { driver = "snd_intel_hda"; id = 0; }; videocard = { driver = "snd_intel_hda"; id = 1; }; usb = { driver = "snd_usb_audio"; id = 2; }; }- Declared
- <nixpkgs/nixos/modules/services/audio/alsa.nix>