## Changelog for doom-emacs: Commits: [hlissner/doom-emacs@1456108d...8ba2f15c](1456108d5b...8ba2f15c71
) * [`1a3326be`](1a3326be53
) checkers/spell: add support for using enchant * [`c849db64`](c849db6417
) Fix link in gettting_started.org * [`5c6a5773`](5c6a577303
) Fix installation instructions for Archlinux in direnv/README.org * [`273b5370`](273b5370a5
) Larger link. Fitt's law * [`8bd4e1f6`](8bd4e1f692
) Added warning for clang-format in doom doctor. * [`4cc84ecd`](4cc84ecd25
) Fix broken link * [`021a2d3c`](021a2d3c64
) modules/checkers/spell: remove tex option * [`f460a461`](f460a461d8
) Add scheduled entry keybinding * [`5b13c913`](5b13c913eb
) Add scheduled entry evil binding * [`90b330bb`](90b330bbc5
) Fix `+spell/add-word` when using flyspell * [`e2658052`](e2658052af
) tools/debugger: fix rust debugger * [`a6dc6275`](a6dc6275f8
) Fix hlissner/doom-emacs#3960: make prefix arg consistent in +default/search-project * [`0769b47c`](0769b47cc8
) Fix 'doom purge' not purging straight builds * [`3c736f44`](3c736f441b
) [bepo] Split good and evil hooks * [`3c40fde0`](3c40fde075
) [bepo] Use evil-collection over general for keys * [`727f6afc`](727f6afc2b
) Update Readme with new information * [`b452585d`](b452585da7
) Lint * [`3d366701`](3d36670132
) Add evil-org hooks * [`04d08bdf`](04d08bdf5d
) Disable non-compatible binding * [`bb415adb`](bb415adbe0
) Load yas when yas-activate-extra-mode is called * [`1fa4516c`](1fa4516cad
) add definition lookup handler to agda module * [`84f26e28`](84f26e287b
) Add keybinding for tear-off-window * [`289369f1`](289369f191
) checkers/spell: fix default ispell dict * [`1050ba83`](1050ba83f0
) Adjusting org journal functions to new commands * [`1c55b331`](1c55b33179
) Add missing 'the' in Portal 2 quit message * [`ef1e6dd6`](ef1e6dd65c
) Add SPC / in evil-bindings * [`40898b34`](40898b34bf
) Remove conflicting formats * [`4cc8884a`](4cc8884a2f
) lang/rust: mention "2015 edition" rustfmt error fix * [`385e3c20`](385e3c20da
) Move +spell/add-word from zq -> zg * [`2394e412`](2394e4124a
) Don't auto-close brain popup with ESC * [`19811b1d`](19811b1dce
) minor fixes (hlissner/doom-emacs#3957) * [`603a1156`](603a11569b
) Ignore dotfiles in root * [`018a95cf`](018a95cf32
) Fix hlissner/doom-emacs#4023: background mismatch for latex previews * [`6a30a117`](6a30a11709
) Fix hlissner/doom-emacs#4023 (again): background mismatch for latex previews * [`a7c3c5a9`](a7c3c5a9d2
) Remove org-format-latex-options :background hack * [`ea350237`](ea35023765
) Fix prefix arg for +workspace/new * [`01faa969`](01faa96992
) Fix :tabn* ex command conflicts * [`5b2b660e`](5b2b660eeb
) Bump :ui * [`9f6cb1a1`](9f6cb1a1b4
) fix hlissner/doom-emacs#4025 * [`6b588d14`](6b588d140a
) Bump :tools lsp * [`599d3929`](599d3929f0
) Bump :lang haskell * [`7daa3aaa`](7daa3aaae9
) Improve fill-column module for 27 * [`5eb03ae4`](5eb03ae45b
) Change fill-column conditionals to use macro * [`f96b2310`](f96b2310df
) Add keybinding to toggle fill column indicator * [`67c1e7c3`](67c1e7c3f9
) Bump :ui * [`3f28411f`](3f28411f64
) Use delegate function * [`0e7d5b54`](0e7d5b5490
) Fix hlissner/doom-emacs#4027: tab not invoking emmet at EOB * [`911c8f48`](911c8f48b4
) Fix hlissner/doom-emacs#2742: cursor offset in artist-mode * [`c94ea8e4`](c94ea8e4b1
) Fix hlissner/doom-emacs#4028: window-dividers not reset * [`1aa48ce8`](1aa48ce822
) Fix hlissner/doom-emacs#4029: remove project.el support project cmds * [`3f4eaec1`](3f4eaec1af
) Fix void-variable bb error when saving workspace * [`07b2883b`](07b2883bc3
) lang/nix: add popup rule for nixos-options-doc * [`e4864adf`](e4864adfbe
) Update 'doom help upgrade' doctring * [`f403a05d`](f403a05d70
) [bepo] Map ace window to <leader>éé (from ww) * [`2e0a9e0d`](2e0a9e0d02
) :lang dart: add +flutter keybindings * [`172e2dbc`](172e2dbc6b
) Bump :lang dart * [`e1a4f07a`](e1a4f07aab
) Rewrite .gitignore file * [`81f325f1`](81f325f169
) Bump :ui doom * [`7baeb20a`](7baeb20ac9
) Refactor set-electric! hlissner/doom-emacs#4031 * [`15d1626d`](15d1626d9b
) Revert "[bepo] Map ace window to <leader>éé (from ww)" * [`d44c5863`](d44c5863c7
) Map evil-window-map to C-é * [`3cb7458d`](3cb7458d34
) Fix hlissner/doom-emacs#4033: correctly toggle explain-pause-mode * [`b29b865d`](b29b865d30
) Fix hlissner/doom-emacs#3975: configure native-comp in sandbox * [`29b12de8`](29b12de83e
) Fix hlissner/doom-emacs#3901: unset comp-deferred-compilation later * [`f9884cc0`](f9884cc068
) Added powershell flag to sh * [`7c5fe3cf`](7c5fe3cf30
) Completed PR changes * [`558277f5`](558277f523
) update idris module to new format * [`7bff813f`](7bff813fc3
) Only check when formatting feature is enabled. * [`1d90a6a7`](1d90a6a7cd
) Add `json-mode` keybindings * [`729e8d8f`](729e8d8f39
) Fix hlissner/doom-emacs#4035: fill-column toggle * [`c8412706`](c84127069f
) Fix hlissner/doom-emacs#4036: improve 'doom sync -u' output * [`8afba81b`](8afba81b02
) Fix hlissner/doom-emacs#4037: persp-mode failure at daemon startup * [`dbe09f9b`](dbe09f9b43
) Fix hlissner/doom-emacs#4043: correctly load org-msg-mode for mu4e * [`1255ebdb`](1255ebdbd7
) Add XDG detection to 'doom install' hlissner/doom-emacs#4040 * [`8284f103`](8284f1035b
) Fix fill-column toggle for vanilla users * [`6445fbf7`](6445fbf732
) Fix hlissner/doom-emacs#3381: make documentation read-only * [`b245abfe`](b245abfe72
) Set comp-deferred-compilation in early-init.el * [`2d9c4012`](2d9c4012c0
) added defet for lazy loading and fixed indentation * [`c5605e9d`](c5605e9de5
) Bump :completion * [`17c9976b`](17c9976bac
) Bump better-jumper
nix-doom-emacs
Nix expression to install and configure doom-emacs.
The expression builds a doom-emacs
distribution with dependencies
pre-installed based on an existing ~/.doom.d
directory.
It is not a fully fledged exprerience as some dependenices are not installed and
some may not be fully compatible as the version available in NixOS or
emacs-overlay may not be
compatible with the doom-emacs
requirements.
Getting started
Using home-manager:
{ pkgs, ... }:
let
doom-emacs = pkgs.callPackage (builtins.fetchTarball {
url = https://github.com/vlaci/nix-doom-emacs/archive/master.tar.gz;
}) {
doomPrivateDir = ./doom.d; # Directory containing your config.el init.el
# and packages.el files
};
in {
home.packages = [ doom-emacs ];
home.file.".emacs.d/init.el".text = ''
(load "default.el")
'';
}
Under the hood
This expression leverages nix-straight.el under the hood for installing depdendencies. The restrictions of that package apply here too.
Usage
instead of running emacs.d/bin/doom, once you have update your config files (packages.el, init.el, config.el), rebuild doom-emacs with nix. If you are using home-manager, simply run home-manager switch
Troubleshooting
On macOS on a fresh install, you might run into the error Too many files open
. running ulimit -S -n 2048
will only work for the duration of your shell and will fix the error
Installing emacs packages
In the initial packages.el instructions for how to install packages can be found.
However some packages might require a particular software dependency to be installed.
Trying to install those would give you an error of the type:
Searching for program: No such file or directory, git
(Missing git dependency)
Here is how you would go installing magit-delta for example (which requires git).
under the line:
doomPrivateDir = ./doom.d;
in your configuration, you would add the following:
emacsPackagesOverlay = self: super: {
magit-delta = super.magit-delta.overrideAttrs (esuper: {
buildInputs = esuper.buildInputs ++ [ pkgs.git ];
});
};
to make the git dependency available.
trying to rebuild doom-emacs with home-manager switch
should work correctly now.