Pulseaudio set-card-profile in default.pa not working

I am trying to set a profile persistently across reboots. Manually doing the following works:

$ pulseaudio --start
$ pacmd set-card-profile 0 'output:iec958-stereo'

But, it is not persistent across reboots, so I edited ~/.config/pulse/defult.pa appending another line:

set-card-profile 0 'output:iec958-stereo'

Adding the line to the end of default.pa causes pulseaudio to refuse to start with the error ‘Daemon session failed.’

How can I keep the profile setting persistent across reboots?

Go to Source
Author: Paul