Allowing multiple users to use PulseAudio at the same time


#1

How can NixOS be configured so that programs run as another user on the same desktop of the primary user can connect to PulseAudio?


#2

https://nixos.org/nixos/options.html#pulseaudio.systemwide


#3

It seems to be possible to configure PulseAudio to allow this without enabling it system wide, as it is commented in the arch wiki.

How would one adapt this setup for NixOS in configuration.nix?


#4

Pretty much the same as described in the arch wiki, I think. It’s user specific configuration, not system configuration.