aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjjanzen <jjanzen@jjanzen.ca>2025-01-09 10:40:42 -0600
committerjjanzen <jjanzen@jjanzen.ca>2025-01-09 10:40:42 -0600
commit6eba5502bd8f834b0c6124d13449c109f9b97af1 (patch)
tree4d9a0a95f57128789a02faafa240296ef57ce6d3 /Makefile
parentec9e18d27dc04bd18dc99e4f9a118495a2da26b2 (diff)
system changes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index a27ce30..d2d7b23 100644
--- a/Makefile
+++ b/Makefile
@@ -63,14 +63,10 @@ macos-update: install
darwin-rebuild switch --flake $(DSTDIR)/.flake
# macos install tells System Events to update the wallpaper after installation
-macos-install: $(CONFIGS) ~/Applications/Emacs.app/Contents/MacOS/Emacs
+macos-install: $(CONFIGS)
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 /etc/profiles/per-user/jjanzen/bin/emacs ~/Applications/Emacs.app/Contents/MacOS/Emacs
-
nixos-update: install
nix flake update $(DSTDIR)/.flake
sudo nixos-rebuild switch --flake $(DSTDIR)/.flake