summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index cd0f747..2630d04 100755
--- a/install.sh
+++ b/install.sh
@@ -7,4 +7,7 @@ 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