|
Imagine your MacBook suddenly dies. Years of careful customization - your apps, desktop layout, and system settings - are gone in an instant. Setting up a new machine exactly like your old one typically takes hours, if not days. Maybe your Mac didn’t die, maybe you’ve made a few quick changes you picked on Google and now it’s completely messed up and you want to roll it back. Most users tackle this problem manually. We’ve all been there.We install apps one by one, tweak system settings individually, and try to remember all their customizations. Some might use backup software or cloud syncing for parts of their setup, but it’s often incomplete and doesn’t cover system-level configurations. This approach is slow, tedious, and inconsistent.It’s easy to forget specific settings or apps, leading to an imperfect recreation of your work environment. Plus, if you switch between multiple machines or need to set up a new computer, this process becomes a major time sink. It also doesn’t solve issues like Homebrew environments breaking or system configurations becoming messy over time. Enter Nix Darwin - a game-changer for Mac configuration
Getting Nix Darwin starts with getting Nix. I made a video about it recently to help you get started. Once Nix is ready it’s time to install Nix Darwin; I went with the flakes option but there are a bunch of other alternatives in the project’s docs. When you’ve got everything installed, you can now start configuring your local flake, and run: That’s pretty much it. Every addition you make to the flake, run the command and it’ll take care of the heavy lifting. I keep my flake up to date and pushed to GitHub so that it’s always recover-able and fetch-able remotely. By using Nix Darwin, you’re not just saving time - you’re ensuring consistency across all your machines and making your entire setup trackable and reversible. It’s a powerful tool that turns the daunting task of system configuration into a simple, reproducible process. While there’s a learning curve to using Nix Darwin, the payoff in terms of efficiency and peace of mind is crazy. Say goodbye to the days of painstaking manual setup and hello to a world where your perfect Mac configuration is always just a few commands away. I have a new video on my channel covering Nix Darwin installation, management and everything you need to know. Make sure to check it out and drop a comment! As always, thank you for reading, I hope this was valuable, feel free to reply directly with thoughts! |
Every once in a while I send hand picked things I've learned. Kind of like your filter to the tech internet. No spam, I promise!
This Nginx Fork Should Be Illegal This issue is brought to you by: Trigger.dev: The open source platform to build and deploy fully‑managed AI agents and workflows Trigger.dev is the platform for building AI workflows in TypeScript. Long-running tasks with retries, queues, observability, and elastic scaling. Start Building Now Look, we all love Nginx. I've used it for years. It’s the reliable, rock-solid engine that’s kept my infra running since the early days. But every once in a while, it’s...
I Was DEFINITELY Using The Wrong Dev Env CLI This issue is brought to you by: Teleport: Unified Identity Securing Classic & AI Infrastructure Teleport unifies identities — humans, machines, and AI — with strong identity implementation to speed up engineering, improve resiliency against identity-based attacks, and secure AI in production infrastructure. Try Teleport for Free I titled this newsletter like I did because I realized my old setup was a fragmented mess of five different tools when...
I’m Done With Manual Proxies. (Use Traefik Instead) This issue is brought to you by: Incident.io: Move fast when you break things The all-in-one AI platform for on-call, incident response, and status pages—built for fast-moving teams. Get started for FREE! If you’ve ever felt like pulling your hair out while manually editing Nginx config files just to add one simple container, this is for you. Modern infrastructure is dynamic, but our proxies are often static. In the old days, you’d spin up a...