hardware.alsa.defaultDevice.capture
NixOS option
The default capture device (i.e. microphone). Leave empty to let ALSA pick the default automatically. The device can be changed at runtime by setting the ALSA_AUDIO_IN environment variables (but only before starting a program).
type: stringDefault
""
Example
declared in: nixos/modules/services/audio/alsa.nixView source on NixOS/nixpkgs →"dsnoop:CARD=0,DEV=2"