hardware.alsa.enableRecorder
NixOS option
Whether to set up a loopback device that continuously records and allows to play back audio from the computer. The loopback device is named pcm.recorder, audio can be saved by capturing from this device as with any microphone. By default the output is duplicated to the recorder assuming stereo audio, for a more complex layout you have to override the pcm.splitter device using hardware.alsa.config. See the generated /etc/asound.conf for its definition.
type: booleanDefault
declared in: nixos/modules/services/audio/alsa.nixView source on NixOS/nixpkgs →false