Just got this working.
Roughly the steps that I can recall now were to download the template vm that the sys-audio salt state uses - the salt states can be found here btw:
and fedora-33-xfce is the template vm it uses.
Once the state is run and the sys-audio vm created the template vm needs to have the qubes-core-admin-client rpm installed - this provides the qvm-start-daemon python script that is used to start the pacat processes for each vm audio client.
Next, startup the sys-audio vm and create ~/.config/autostart entries for qvm-start-daemon and pulseaudio:
eg. ~user/.config/pulseaudio.desktop
[Desktop Entry]
Name=Pulseaudio
Comment=Starts Pulseaudio
Icon=qubes
Exec=pulseaudio
Terminal=False
Type=Application
NotShowIn=KDE;
eg. ~user/.config/qvm-start-daemon.desktop
[Desktop Entry]
Name=Qubes Guid/Pacat
Comment=Starts GUI/AUDIO daemon for Qubes VMs
Icon=qubes
Exec=qvm-start-daemon --all --watch
Terminal=False
Type=Application
NotShowIn=KDE;
Next there are some problems with the policy that the salt state creates. It’s a bit of a pain to work though but the popup notifications are helpful - the policy is defined in /etc/qubes/policy.d/50-sys-audio.policy on dom0
I’d paste it here but tbh I’m a bit lazy and it’s on dom0
Finally, each vm needs to have the audiovm adjusted w/
eg. qvm-prefs audiovm sys-audio