Migrating Mac Configs to Nix

Declarative approach to setting up my Macbook workstation So I have the habit of wiping my machine every 3-12 months (Pretty subjective window 馃し) and I usually don鈥檛 have a hard time getting my workstation up and running again in an hour. I use chezmoi for my dotfiles configurations, homebrew for my package manager and oh-my-zsh + starship for my terminal prompt. Ansible is a fine tool to automate this process, but it feels a bit clunky running a playbook against macOS. This is where nix-darwin saves the day (or, well, a hour of my time). Creating one Nix flake allows me to declaratively install the packages鈥擟LI and GUI鈥攐nto my machine with a simple rebuild command. It also keeps my machine clean by ensuring I don鈥檛 have any lingering packages I forgot to delete when testing them out 馃榿 ...

January 14, 2025 路 3 min 路 569 words 路 digitalsoba

Ansible Collections Migration

Putting the old repo to rest 馃拃 I had this repo that hosted a role that would bootstrap servers with the good stuff: a default sudo user with a few packages and ssh configs. Mainly used in my homelab or testing things out in a VPS. It鈥檚 been years since I made any real changes, and it was a pain in the ass to keep up to date with the packages. Instead of painstakingly upgrading pip packages with constant breaking changes, I decided to start over with an Ansible collection. ...

October 16, 2023 路 1 min 路 201 words 路 digitalsoba