Simply clone this repo to $HOME/.config/home-manager
and run install script
$ git clone https://github.com/namnd/home-manager ~/.config/home-manager
$ cd ~/.config/nixpkgs && sh install.sh
To completely uninstall Nix, run script
$ sh uninstall-macos.sh
then remove the repo from your machine.