• 0 Posts
  • 4 Comments
Joined 1 year ago
cake
Cake day: August 29th, 2023

help-circle
  • Nix is a big rabbit hole. You can use it as a normal package manager, but there’s a lot more.

    You can also use nix-shell to temporarily install packages, it drops you into a shell with your package and that package is gone when you exit the shell. You can also declare a shell using a shell.nix file with environment variables and packages you want (including specific versions) and enter that shell by running nix-shell.

    You can also declare your full user environment using nix home manager. Using a home.nix file you can list packages you need and configure everything. That also makes it easy to backup your user environment by just copying the home.nix file.