That sounds like overkill, is your system really that complex that you need to automate it’s installation? Usually when I reinstall my system I install the programs I remember and whenever I need something I install it.
My dotfiles are in a repo, but that only started when I started using i3 since the config is entirely a text file, before I just used the GUI to setup my system to look like I wanted it to.