turn off pulseaudio to fix audio issues

This commit is contained in:
Haak Saxberg 2022-03-19 20:22:26 -07:00
parent 6272f27b29
commit cf6e0f6756

View file

@ -113,14 +113,19 @@
# Enable sound.
sound.enable = true;
hardware.pulseaudio = {
# sound.enable turns on pulseaudio, which conflicts with pipwire. As
# Pipewire is now enabled by default (??) we should not enable the default
# sound provider.
# https://github.com/NixOS/nixpkgs/issues/163066
# sound.enable = true;
hardware.pulseaudio.enable = false;
services.pipewire = {
enable = true;
# The full package is necessary to allow bluetooth audio devices.
package = pkgs.pulseaudioFull;
alsa.enable = true;
jack.enable = true;
pulse.enable = true;
};
# Enable touchpad support.
services.xserver.libinput.enable = true;