system changes

This commit is contained in:
Jacob Janzen 2024-12-16 15:09:35 -06:00
parent a90388406c
commit f19e9e3238

View file

@ -12,18 +12,8 @@
"./.config/emacs/user-interface.el".source = ./user-interface.el;
"./.config/emacs/tools.el".source = ./tools.el;
"./.config/emacs/languages.el".source = ./languages.el;
"./Applications/Emacs.app/Contents/MacOS/Emacs" = {
executable = true;
text = ''
#!/bin/sh
if ! ps -e | grep -q '[E]macs --bg-daemon'; then
/opt/homebrew/bin/emacs --daemon
fi
/opt/homebrew/bin/emacsclient -c &> /dev/null
'';
};
};
nixpkgs.overlays = [
(final: prev:
{
@ -51,9 +41,16 @@
}
)
];
programs.emacs = {
enable = true;
package = pkgs.emacs29-pgtk;
};
services.emacs = {
enable = true;
client.enable = true;
package = pkgs.emacs29-pgtk;
};
}
#+end_src