about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-06-06 08:56:10 +0100
committerDavid Morgan <djm_uk@protonmail.com>2024-06-06 08:56:10 +0100
commit018528c678f507806e0bd74c52241a790cef385b (patch)
tree311c28fa0dd97db5a7b97e7b5143e2fd86e0dba6
parentcf89e0f44a128a775f41c699dee971e4e7f06101 (diff)
downloaddotfiles-018528c678f507806e0bd74c52241a790cef385b.tar.gz
Add some darwin setup steps
-rw-r--r--setup-home.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup-home.sh b/setup-home.sh
index 2b8e9dc..4a417e6 100644
--- a/setup-home.sh
+++ b/setup-home.sh
@@ -26,3 +26,7 @@ echo -n $EMAIL > ~/email.txt
 
 home-manager switch
 
+if [ "$(uname 2> /dev/null)" = "Darwin"  ]; then
+  ln -sf ~/.nix-profile/Applications/Emacs.app /Applications/
+  ln -sf ~/.nix-profile/lib/pam /usr/local/lib/pam
+fi