aboutsummaryrefslogtreecommitdiff
path: root/macos.local
diff options
context:
space:
mode:
authorjjanzen <jjanzen@jjanzen.ca>2025-01-08 19:12:37 -0600
committerjjanzen <jjanzen@jjanzen.ca>2025-01-08 19:12:37 -0600
commitfa1846390d8881f1729a8e8a48374ea702f6187c (patch)
tree3f4c693779667ac5a7059bee2e3f1757b3815633 /macos.local
parent7f46d1cc0e311c70f26f26c2bd49b74ef3edad0f (diff)
system changes
Diffstat (limited to 'macos.local')
-rw-r--r--macos.local/.flake/home/programs/emacs/core.nix.org7
-rw-r--r--macos.local/.flake/system/emacs.nix.org12
2 files changed, 12 insertions, 7 deletions
diff --git a/macos.local/.flake/home/programs/emacs/core.nix.org b/macos.local/.flake/home/programs/emacs/core.nix.org
index cf0afa0..f51c2d2 100644
--- a/macos.local/.flake/home/programs/emacs/core.nix.org
+++ b/macos.local/.flake/home/programs/emacs/core.nix.org
@@ -12,13 +12,6 @@ Here is my Emacs configuration. Define configuration files that should exist, de
home.file = {
"./.config/emacs/feed.org".source = ./feed.org;
"./.config/emacs/init.el".source = ./init.el;
- "./Applications/Emacs.app/Contents/MacOS/Emacs" = {
- executable = true;
- text = ''
- #!/bin/sh
- /etc/profiles/per-user/jjanzen/bin/emacsclient -c & disown
- '';
- };
};
nixpkgs.overlays = [
(final: prev:
diff --git a/macos.local/.flake/system/emacs.nix.org b/macos.local/.flake/system/emacs.nix.org
new file mode 100644
index 0000000..4c89347
--- /dev/null
+++ b/macos.local/.flake/system/emacs.nix.org
@@ -0,0 +1,12 @@
+#+title: Emacs Application Configuration
+
+#+begin_src nix
+ { config, pkgs, ... }:
+
+ {
+ environment.etc."/Applications/Emacs.app/Contents/MacOS/Emacs" = {
+ executable = true;
+ source = /etc/profiles/per-user/jjanzen/bin/emacs;
+ };
+ }
+#+end_src