Hello friends, Today, we’re diving into the world of dotfiles. If you’ve ever customized your terminal, text editor, or shell, you’ve likely encountered the concept of managed dotfiles. Let’s explore why managing these configuration files is essential, how to handle them locally with What Are Dotfiles?Dotfiles are a collection of configuration files that allow you to configure applications using code. They get their name from the Unix convention of hiding files by prefixing them with a dot, such as Why Manage Dotfiles?
Managing Dotfiles Locally with Stow and SymlinksUsing Organize Your Dotfiles: Create a directory structure for your dotfiles. Each configuration should have its own folder. Ideally, run Use Stow to Create Symlinks: Navigate to your dotfiles repo and run Stow to create symlinks in your home directory:
Working with a .stowrc FileTo improve the process above, let’s customize Stow’s behavior, you can use a Syncing Dotfiles Remotely with CoderCoder (coder.com) provides cloud-based development environments, perfect for maintaining consistency across your devices. Here’s how to sync your dotfiles with Coder. Coder got templates for pretty much every option you can think of, including syncing your dotfiles repo to an instance you provision with them. To use their dotfiles template all you have to do is add If you’re subscribed to DevOps ToolBox on Youtube there’s a video coming out soon going through this entire process step by step! Hopefully this helped you come up with ideas behind the reasoning and application of my flow to improve yours. While I know this can be improved with projects like chezmoi, or Nix’s home manager, I’m really curious to hear your thoughts! Please reply to this email with feedback / ideas and let’s chat! Until next week, have a great reset of your day. |
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!
I've Been Using AWS Wrong for YEARS... For years, my approach to AWS felt like a battle. As a DevOps engineer and later and architect, building infra always involved a tedious process of carefully building templates and structure, reviewing, deploying, testing and iterating over and over. I’d either spend hours clicking through the console or writing endless infrastructure code, always feeling like I was one misconfiguration away from a headache. It turns out, I was making it much harder than...
You've been lied to about self hosting... This issue is brought to you by: Auth0, my auth provider for the last 6 years. Join their free virtual dev_day on June 18th to learn how to secure AI agents and applications. Save your free spot That title might sound a bit aggressive, but this isn't about hating on hosting platforms. It's about loving the freedom, control, and cost-savings that come from owning your deployment process, without giving up the slick, easy experience we all love. And...
How DHH Solved Deploying to Production (with Open Source) Ever felt depressed by the sheer complexity of getting your application live and serving users? You’re not alone. But what if deploying to production, even (or especially) across multiple servers, could be straightforward and more importantly, free? That’s the reality DHH, the creator of Ruby on Rails and CTO of Basecamp & HEY, wanted to create, and he delivered with an open source tool called Kamal. DHH’s approach to technology always...