fedimint / fedimint

Federated E-Cash Mint
https://fedimint.org/
MIT License
530 stars 209 forks source link

docs: updating dev-env.md regarding nix installation #5050

Closed Minimega12121 closed 1 week ago

Minimega12121 commented 1 week ago

Why

One of the main problems with Nix installation is that the official version requires you to change some settings in order to use nix develop. On the other hand, if you make a mistake during installation, uninstalling Nix can be challenging (as also mentioned as a con here: https://nixos.org/download/). I faced this myself, so I'm recommending some of the uninstallation methods that worked for me.

How

So, I have added an Uninstallation section in the dev-setup.md so that if someone installs Nix incorrectly or wants to uninstall it, they can do so using:

  1. Official method
  2. Brute-force method

Additionally, I have updated the recommended method to use the Determinate Nix Installer so that setting up the development environment goes smoothly for anyone attempting it for the first time (discussed with @Kodylow).

dpc commented 1 week ago

We should just recommend using https://github.com/DeterminateSystems/nix-installer everywhere.

Minimega12121 commented 1 week ago

We should just recommend using https://github.com/DeterminateSystems/nix-installer everywhere. Okay, I'll change the doc accordingly