3 ms·
Isn’t your primary benefit you’re looking for the same as what containers offer? If that is true, isn’t the only major benefit that nix is a little less sluggis
by SOLAR_FIELDS 1y ago
Isn’t your primary benefit you’re looking for the same as what containers offer? If that is true, isn’t the only major benefit that nix is a little less sluggish?
FWIW the way we use nix where I work is quite a bit lighter touch than the setups being discussed here. There are kind of three tiers of Nix implementations
- I want Nix to manage my entire os (NixOS)
- I want Nix to manage my user shell and dotfiles (home manager)
- I want Nix to manage per repository shells (nix + direnv with a flake.nix in each repo, or an .envrc that pulls a shared flake and extends it)
We use the latter and find it to be a good mix of keeping nix configuration simple but also enabling per environment shells that are reproducible