Today, I wanted to have another go with nix. Previously I just read about it and didn’t do anything for a couple of months. Now, I installed nix package manager with very few lines of code and two more to install many packages as described in his post. Installation was very fast on my banana laptop. Until now I used distrobox but I always wondered which distro/ package manager to use. What’s your experience with it?
For now, I’ll test it. It’s super easy to use. It may not be straight forward to a linux newcomer but if you know what you want, e.g. ffmpeg you can just add it with home-manager edit
and install it with home-manager switch
. So far, I love it!
Using containers on Linux has basically no performance loss compared to running on the host. They share a kernel and nothing needs to be virtualized (unlike containers on macOS and Windows), so anything you run in a container is basically the same performance as running it on the host.
I still agree though: using Nix is better than using Distrobox for many other reasons.
Sorry, faster because installing a package is faster than with other managers since you don’5 have to deal with any copr, debs or anything and it’s really fast on my install. I haven’t compared it directly but it feels very fast.