Home Manager

To install home manager locally on your system, run the following two commands.

nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager

nix-channel --update

relogin into the shell

Then, run

nix-shell '<home-manager>' -A install

Now edit this file to change your home configurations.

~/.config/home-manager/home.nix

Lastly, run home-manager switch to switch to the new configs.