From 018528c678f507806e0bd74c52241a790cef385b Mon Sep 17 00:00:00 2001 From: David Morgan Date: Thu, 6 Jun 2024 08:56:10 +0100 Subject: Add some darwin setup steps --- setup-home.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit 1.4.1-2-gfad0