hardware.alsa.enableRecorder

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
boolean
Default
false
Declared
<nixpkgs/nixos/modules/services/audio/alsa.nix>