Hello, thank you for the in depth explanation! I am not very familiar with nix, and yes I'm talking about the package manager. I have installed NixOs recently to toy around with it and see whether it could be a good solution to certain problems we have. I have determined that NixOs itself is not mature enough for what we need, but I do see value in the nix package manager that other solutions do not offer.
Regarding the 4 points you raise
- I'm not too worried about hash squatting, I guess there's no way around it, but other ways of managing packages have way worse flaws than that.
- I do want my users to be able to build packages. In most cases I imagine we'll use pre built packages, but often packages available are not optimized for certain architectures.
- How does the nix sandbox work? Just so I know what I'm working with. Do you know where I can read about it?
- Does root actively run installed packages at any point? If that is the case I'd be a bit wary to use nix for this purpose.