You need a power supply from an old computer with its main connector intact and, also, its power cord. Then you need to buy a "breakout board" like the one(s) shown.
The computer power supply then plugs into a standard wall outlet using its own cord and its connector plugs into the new breakout board. The output side of the breakout board has multiple taps of different voltages that you can then use to power items on your layout.