Remove Nix from your system
- remove the .
"$HOME/.nix-profile/etc/profile.d/nix.sh"
line in your~/.profile
or~/.bash_profile
or.zshrc
rm -rf $HOME/{.nix-channels,.nix-defexpr,.nix-profile,.config/nixpkgs}
sudo rm -rf /nix
- On a multi-user install, also remove all the nixbld[0-9] users