When buying any computing hardware, you must research whether it works with
free software. You can start with h-node.org. The ideal procedure is (1) to
build a list of all relevant components (usually the main IC manufacturer
names and models), then (2) investigate whether each of them works with free
software. Start by searching manufacturer name and model concatenated with
“linux”, “drivers”, “firmware”, etcetera. Also look in the
manufacturer web site and the kernel, X11 and related software documentation.
It is unlikely that you will be able to verify that every component works
with free software, because manufacturers don't often provide that
information and it's not readily available elsewhere so you will have to run
some risk that you will not be able to use the full functionality. The most
problematic hardware is wireless NICs and graphics controller.
Search about “Intel Active Management Technology” and why it should be
avoided (suggestion: start searching this forum).
Consider buying a computer certified to work with free software, like the
Libreboot X200, which is probably the best option regarding free software.
You will be supporting the development of free software and the reverse
engineering effort (See the work done to disable AMT and ME in the X200).