aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjjanzen <jjanzen@jjanzen.ca>2025-01-08 20:40:08 -0600
committerjjanzen <jjanzen@jjanzen.ca>2025-01-08 20:40:08 -0600
commit501ad449587d9263c87783eaae27986293d2d306 (patch)
tree9a7806caafae4b41567435112e847a369b3e9919
parenta53d08187f811e3b55464868b375876aae7bf91a (diff)
system changes
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 21c6f0f..a27ce30 100644
--- a/Makefile
+++ b/Makefile
@@ -63,11 +63,13 @@ macos-update: install
darwin-rebuild switch --flake $(DSTDIR)/.flake
# macos install tells System Events to update the wallpaper after installation
-macos-install: $(CONFIGS)
+macos-install: $(CONFIGS) ~/Applications/Emacs.app/Contents/MacOS/Emacs
darwin-rebuild switch --flake $(DSTDIR)/.flake
osascript -e "tell application \"System Events\" to tell every desktop to set picture to \"/$$HOME/.wallpaper\" as POSIX file"
+
+~/Applications/Emacs.app/Contents/MacOS/Emacs:
mkdir -p ~/Applications/Emacs.app/Contents/MacOS
- ln -s $$(which emacs) ~/Applications/Emacs.app/Contents/MacOS/Emacs
+ ln -s /etc/profiles/per-user/jjanzen/bin/emacs ~/Applications/Emacs.app/Contents/MacOS/Emacs
nixos-update: install
nix flake update $(DSTDIR)/.flake