Custom Emacs configuration. I'm currently using Emacs 28.x with the native compilation branch on macOS Monterey.
Install Emacs with nix (see nixconfig:
{
# ...
environment = {
systemPackages = with pkgs; [
emacsNativeComp
# ...
];
};
# ...
}
No further setup is required (e.g. don't need to install libgccjit
manually)
Check out this repository to either ~/.emacs.d
and start emacs as usual or somewhere else and start emacs from within this directly, pointing to init.el
.
$ git clone git@github.com:booklearner/dot-emacs-d.git
$ cd dot-emacs-d
$ emacs -q --load init.el
Alternatively, I keep my config under ~/src/dot-emacs-d
, so I've symlinked my init.el
file:
$ ln -s ~/src/dot-emacs-d/init.el ~/.emacs.d/init.el