MyNixOS website logo
option

hardware.alsa.defaultDevice.playback

The default playback device. Leave empty to let ALSA pick the default automatically.

The device can be changed at runtime by setting the ALSA_AUDIO_OUT environment variables (but only before starting a program).
Declarations
Type
string
Default
""
Example
"dmix:CARD=1,DEV=0"