MyNixOS website logo
option

hardware.alsa.controls

Virtual volume controls (softvols) to add to a sound card. These can be used to control the volume of specific applications or a digital output device (HDMI video card).

Declarations
Type
attribute set of (submodule)
Default
{ }
Example
{
  firefox = { device = "front"; maxVolume = -25.0; };
  mpv     = { device = "front"; maxVolume = -25.0; };
  # and run programs with `env ALSA_AUDIO_OUT=<name>`
}
</name>