diff options
author | Alan Pearce | 2020-08-26 14:03:07 +0200 |
---|---|---|
committer | Alan Pearce | 2020-08-26 14:03:50 +0200 |
commit | 9958179f026bf5e604d16c8b6188a95fd422de2a (patch) | |
tree | 494cefa8a269eec4ca8b645160e62f7a7460f1ea /user/settings | |
parent | 3937dbd373054643862bed55e11280d2f34b6eeb (diff) | |
download | nixfiles-9958179f026bf5e604d16c8b6188a95fd422de2a.tar.lz nixfiles-9958179f026bf5e604d16c8b6188a95fd422de2a.tar.zst nixfiles-9958179f026bf5e604d16c8b6188a95fd422de2a.zip |
Emacs: move relevant config to early-init
Diffstat (limited to 'user/settings')
-rw-r--r-- | user/settings/emacs.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix index 1ce4fc23..3d353bcc 100644 --- a/user/settings/emacs.nix +++ b/user/settings/emacs.nix @@ -189,6 +189,12 @@ in home.sessionVariables = { EDITOR = "${editorScript}/bin/edit"; }; + xdg.configFile."emacs/early-init.el" = { + source = ../emacs/early-init.el; + onChange = '' + ${config.programs.emacs.finalPackage}/bin/emacs -Q -batch -f batch-byte-compile .config/emacs/early-init.el + ''; + }; xdg.configFile."emacs/init.el" = { source = ../emacs/init.el; onChange = '' |