NixOS, for me. I deal with a lot of wild development environments, so flakes + direnv has probably saved me hundreds of hours and a few system reinstalls.
Nix is also availible for Mac, but I'll warn you that it may ruin Macports and brew for you forever.
Nix is also availible for Mac, but I'll warn you that it may ruin Macports and brew for you forever.