This is my doom config. To use it:
cd
git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d
~/.emacs.d/bin/doom install
git clone https://github.com/thor314/.doom.d
doom sync
doom doctor # this last will inform of missing system dependencies