I'm often switching between different machines and operating systems for various tasks—whether it's work or personal projects. I'm really struggling with keeping my development environments consistent, especially with machines I don't use frequently, like my laptop for longer trips. I'm aware of tools like stow, but I'm looking for something semi-automated that I can set up once and trigger easily without messing with git or symlinks each time. I'm interested in syncing things like my general environment and application configurations (like for VS Code), and potentially more. Does anything like this exist? I've heard of Nix, but it feels a bit too quirky because of its unique package library, and I don't want to be limited by that.
5 Answers
NixOS does have its own package manager, but you don't necessarily have to stick with it. You can use Nix to install Python and then set up a virtual environment with pip. It's actually pretty flexible!
From a consulting perspective, each project generally requires a unique environment set up. This includes managing different programming languages and tools, so specifying your needs would help in getting more tailored advice.
Docker's a solid option. It can package your entire development environment, which is really helpful. Just keep in mind some languages might handle this differently, so it also depends on what you’re working with.
Despite its learning curve, Nix has the largest package repository, which could actually simplify environment management. It’s considered a good solution, even if it takes some time to get used to.
Have you tried using Docker and dev containers? They can help create a consistent environment across different OSs really well.
Related Questions
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically
[Centos] Delete All Files And Folders That Contain a String