I put together a little guide on how to set up your Raspberry Pi as a home audio hub. Goes over some configuration for Bluetooth and using a DAC as well. Works headless with Spotify Connect, as a Bluetooth Audio Receiver, Apple Airplay and also UPnP.
https://makingstuffwork.net/technology/ ... pberry-pi/
Hope some of you find it useful!