- Use nix to manage all your user space programs declaratively.
- Prepare dotfiles with injected dependencies from https://github.com/NixOS/nixpkgs and install it into $out/userHome.
- Link dotfiles from .nix-profile into user home directory.
- Install nix
- Git clone .nixpkgs into ~/.nixpkgs
- Customize it for your needs.
- Run
.nixpkgs/install.sh