I did the same with my dotfiles setup, but it's for my personal preferences.
Moreover, I think I have more options to skip particular part / packages while also try to be idempotent as much as it can.
Moreover, I think I have more options to skip particular part / packages while also try to be idempotent as much as it can.
I found it highly amusing that we're taking similar approaches for a lot of things: a wrapper function for sudo and fetch, and OS detection (especially the appending WSL suffix part). Mine is not as idempotent as yours, and having a per-package definition is still in my TODO list, though.
I find myself constantly either in need of reinstalling the whole OS or setup my environment a lot, hence I need to make the setup flexible and various options to better reduce the time I spent manually install stuffs.