#!/usr/bin/env bash # # Downloads and installs home-manager, then symlinks this directory where # home-manager expects it. HM_PATH=https://github.com/rycee/home-manager/archive/master.tar.gz nix-shell $HM_PATH -A install # macOS doesn't have a ~/.config directory by default mkdir -p ~/.config [[ -L ~/config ]] && ln -s ~/config ~/.config/nixpkgs