git clone --recurse-submodules https://github.com/andrewpeck/dotfiles ~/dotfiles
mkdir ~/.config/nixpkgs
ln -s ~/dotfiles/home.nix ~/.config/home-manager/home.nix
curl -L https://nixos.org/nix/install | sh
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
home-manager switch