Audio: Difference between revisions

imported>Mic92
No edit summary
imported>Volth
Line 85: Line 85:


In your config file:
In your config file:
<syntaxHighlight lang="nix">hardware.pulseaudio.enable = true</syntaxHighlight>
<syntaxHighlight lang="nix">
  hardware.pulseaudio.enable = true;
  nixpkgs.config.pulseaudio = true;
</syntaxHighlight>


You can check if everything works by using pavucontrol to see the audio streams and to make sure that PulseAudio detects your audio hardware.
You can check if everything works by using pavucontrol to see the audio streams and to make sure that PulseAudio detects your audio hardware.