{pkgs, config, lib, ...}: { sound.enable = true; environment.systemPackages = with pkgs; [ # We install it to get access to pactl. It isn't enabled or run as a service. pulseaudio ]; services.pipewire = { enable = true; # Compatibility shims, adjust according to your needs alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; jack.enable = true; }; hardware.pulseaudio.enable = false; }