As a solo Developer and Consultant, I rely a lot on automation to get my tasks done.
I use tools like Pulumi, Ansible and Terraform to automate creating and configuring infrastructure - recently creating new client GitHub repositories using a standard configuration with Pulumi.
I use Nix and Home Manager to automate my local development environment, install packages I need and create files like
.gitconfig for my needs. These are reusable and stored in my dotfiles repository.
For projects, I use tools like Docker, Docker Compose and Nix flakes for consistency.
I wrote a tool for generating configuration files for each project - reducing the time it takes me to set up, configure and maintain standard files for tools like Docker and Docker Compose that I always use. If I need to add a new feature or fix a bug in a configuration file, I can do that in my templated version and re-generate each project’s files rather than making the same change manually.
Today, I wrote a script that loops over all projects where I commit those files to GitHub, clones a fresh version of it, re-generates the files and pushes any new files or changes back to the repository. This means that any changes will be automatically applied and all of my projects will remain in sync.
Automating all of these things reduces the time that I need to spend on them - allowing me to focus on delivering value and solving problems for my clients.