Add base directory
mkdir -p ~/.config
Install nix on the computer
sh <(curl -L https://nixos.org/nix/install) --daemon
Install home-manager
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --update
nix-shell '<home-manager>' -A install
Install packages and create configuration files with home-manager
home-manager switch
Configure $GITUSER, $GITEMAIL
export $GITUSER="<git name>"
export $GITEMAIL="<git email>"
home-manager switch
Retrieve tpm plugin submodule in tmux/plugins/tmux
git submodules update --init