#!/usr/bin/env sh
#
# Downloads and installs home-manager, then symlinks this directory where
# home-manager expects it.

HM_PATH=https://github.com/rycee/home-manager/archive/release-18.03.tar.gz

nix-shell $HM_PATH -A install

ln -s  ~/config ~/.config/nixpkgs