This is my personal Emacs 27.2 configuration when I'm using Arch and Ubuntu on WSL2. If you prefer an unopinionated Emacs "distro" that you could build upon, check out this page.
Back up your ~/.emacs.d/
first (if you have one):
mv ~/.emacs.d ~/.emacs.d.bak
Git clone my configuration to your new ~/.emacs.d/
:
git clone https://github.com/ianyepan/.wsl-emacs.d.git ~/.emacs.d
I will constantly push new commits since a real Emacser is never completely satisfied with his/her setup ;-)