Re:Show HN: We open sourced our new Mac developer setup script
by sirn on Monday December 13, 2021 @02:52AM
(#29537643)
Ha, I also have something similar[1], but I use a mix of profiles and flavors. I have two profiles: pkg for installing packages and user for configuring user profiles. Profiles are then broken down further with flavors: dev for development packages, desktop for desktop packages and configurations, and so on.
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.
Re:Show HN: We open sourced our new Mac developer setup script
by tomcam on Sunday December 12, 2021 @10:30PM
(#29536296)
I think you should post this separately. It appears to of been painstakingly developed over a long time and has an array of options I would expect from a professional setup.
Re:Show HN: We open sourced our new Mac developer setup script
by spywhere on Sunday December 12, 2021 @11:49PM
(#29536738)
It definitely been working on for quite some time. I start working on it as a simple setup with just `Brewfile` for brew bundle, then adding custom comments to run grep + xargs to pipe to Aptitude / APK / package manager to install the same package for different platforms.
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.
Moreover, I think I have more options to skip particular part / packages while also try to be idempotent as much as it can.
https://github.com/spywhere/dotfiles