From fa1846390d8881f1729a8e8a48374ea702f6187c Mon Sep 17 00:00:00 2001 From: jjanzen Date: Wed, 8 Jan 2025 19:12:37 -0600 Subject: system changes --- macos.local/.flake/home/programs/emacs/core.nix.org | 7 ------- macos.local/.flake/system/emacs.nix.org | 12 ++++++++++++ 2 files changed, 12 insertions(+), 7 deletions(-) create mode 100644 macos.local/.flake/system/emacs.nix.org (limited to 'macos.local') 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 -- cgit v1.2.3