When installing packages in NixOS, what is the difference between changing the configuration.nix plus nixos-rebuild-switch versus using nix-shell?
1
vote
1
answer
1349
views
My usual process of installing things on NixOS is changing my configuration.nix , executing
nixos-rebuild switch
, rebooting, and choosing the new (last) OS generation.
I know it is also possible to install packages via nix-shell (but I have never used it).
What are the differences between the two options? When one is more appropriate than the other?
Asked by Pedro Delfino
(155 rep)
Jul 28, 2022, 09:42 PM
Last activity: Jul 29, 2022, 07:44 PM
Last activity: Jul 29, 2022, 07:44 PM