system changes

This commit is contained in:
jjanzen 2025-01-08 19:12:37 -06:00
parent 7f46d1cc0e
commit fa1846390d
2 changed files with 12 additions and 7 deletions

View file

@ -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:

View file

@ -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