I am a nixos fan, I do tell people to use nixos, but for some reason all these switch to nixos posts feel sus. Idk.
There have been an influx of them in my RSS feeds, I wonder if there’s been a You Tube or Tick Tock video that went viral about Nix some time earlier.
After half a year of using it as main driver, I’m still loving nixOS. My entire sway config is in a git repo now, along with the rest of my system config. So nice not having to scrounge around for all the different dotfiles to back up, just the flakes directory.
Do I need to temporarily use a tool not installed? nix-shell to the rescue. Do I need a special shell with commands for the projects I’m currently working on? I just add a .nix file to the project and nix-shell comes to the rescue again. So elegant.
Can I ask about the last bit? Is it like having different dev environments or profiles, and you can just use them as needed?
To also answer your question directly: yes, this was indeed one of two initial motivations for Nix!
As such, you don’t even need to use NixOS to take advantage of it; you can just install Nix on whatever distro you’re already using (or even macOS) and start building separate dev environments for your projects.



