I assume you mean a Mac Mini! If you had used the search facility you would find quite a bit on this…
I use a Mac Mini as my music store running Audirvana as renderer. Dedicated USB bus is better sound quality than Apple’s optical output. I originally used with Chord Hugo, having to use a Gustard U12 isolator/convertor because the Hugo was adversely affected by RF from the computer - the Gustard costs around £130 and converts the excellent USB signal into either optical or Toslink or AES/IBU. (I now use Mac Mini / Audirvana with Dave DAC, without needing Gustard.