Looking at the configuration options you can do the following:
Enable PulseAudio and then enable 32bit support for PulseAudio (wiki):
hardware.pulseaudio.enable = true;
hardware.pulseaudio.support32Bit = true;
Enable Pipewire, enable ALSA support in PipeWire, and then enable 32 support in ALSA through PipeWire (wiki):
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
};
Enable Pipewire and then enable PulseAudio support in PipeWire:
services.pipewire = {
enable = true;
pulse.enable = true;
};
There does not however seem to be an option services.pipewire.pulseaudio.support32Bit
to enable 32bit PulseAudio support in Pipewire.
Is there another way to do this?