Roon setup scheme with mac mini as server and NUC endpoint

mac mini directly connected to endpoint appears to be possible? Connecting two Macmini's with ethernet cable directly

But, most importantly, my scheme will work correctly?