### Changes for doom-emacs On branch: develop Commits:ce65645fb8...f621ff8047
- [704aa4eb](704aa4ebde
) Remove double underscore from c header templates - [0e9fd716](0e9fd716d2
) Extend Python's docsets to Python REPL. - [7ae2bf96](7ae2bf962e
) Active pyenv-mode only when pyenv exe is found. - [d4eb7e31](d4eb7e31ac
) Fix [hlissner/doom-emacs#4771](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4771): give lsp-find-* precedence over fallbacks - [699e18b7](699e18b7f1
) Fix excluded faces being spell-fu checked anyway - [4af36e0d](4af36e0dab
) Change poetry-tracking-strategy for performance. - [38e2066b](38e2066b9c
) ignore extension installed by lang/dart and recover behaviour of +vterm/here - [96dcb4c0](96dcb4c0d9
) respect +afew feature flag + fix sync buffer kill - [28705030](28705030e0
) Add `:lang zig` module - [27c55378](27c553782a
) Simplify `map!` call - [86ce548e](86ce548e5d
) Update documentation - [60851027](6085102766
) Remove duplicate `:mode` declaration - [b90751ba](b90751bafb
) Update variable name in documentation - [66569e4d](66569e4d88
) Shift `(when (featurep! +lsp))` expression outside of `use-package` - [b317910b](b317910b6e
) Add counsel-outline to ivy-prescient-sort-commands - [47d9f52b](47d9f52b6f
) ocamlforamt hook: buffers without a file name - [c9eb00a2](c9eb00a217
) Fix incorrect newline placement on send-to-REPL - [27e2848d](27e2848d3b
) Fall back to "TAB" if no [tab] keybind - [e80bd6da](e80bd6da4a
) ui/dashboard: minor refactors - [60207a80](60207a8028
) Bump :lang scheme - [027b303e](027b303e33
) Update Elixir Installation instructions ([hlissner/doom-emacs#4835](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4835)) - [0141ad55](0141ad55f1
) go: README: Specify req of (format +onsave) for gofmt ([hlissner/doom-emacs#4812](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4812)) - [39ffc27a](39ffc27ac8
) Improve factor configuration - [39b355cf](39b355cfd3
) Fix [hlissner/doom-emacs#4736](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4736) - remap insert state bindings in minibuffer maps - [3acbf8e9](3acbf8e90d
) Apply changes to helm and selectrum maps - [9ac79c6e](9ac79c6e86
) fix(:input layout bepo): make evilem use gé - [539ab8d1](539ab8d1e9
) Bump eglot - [813dc6e6](813dc6e664
) fix(:tools lsp): make eglot diags use flycheck with :checkers syntax - [ec26b91d](ec26b91d3a
) Add outstanding issues sections for possible contributors - [11e06427](11e06427fa
) Suppress highlight-indent-guides's auto errors - [2a294d1e](2a294d1ea8
) Tell git not to use pager in eshell - [7ad38761](7ad387619d
) Fix vterm popup rule - [ef3ad060](ef3ad06032
) align key map item whitespace - [2cecf3bf](2cecf3bf84
) Minor refactors - [53bd779c](53bd779cc9
) ui/treemacs: add +lsp flag - [41c0b0b5](41c0b0b5c1
) Bump :lang zig - [8a083d13](8a083d1370
) Add :lang beancount module - [079feb26](079feb26e4
) Left align fields in doom-info - [5ee8080c](5ee8080ca7
) Respect dash-docs-browser-func - [32cf114d](32cf114dc7
) lang/scheme: fix support for scheme implementations - [c6523761](c6523761ac
) Fix test/shell.nix - [241e040e](241e040e4d
) tools/lsp: remove redundant lsp-clients-lua-language-server-bin - [0683861f](0683861f3f
) Make doom-first-*-hooks trigger less aggressively - [33af1f98](33af1f98b4
) emacs/dired: drop non-standard switches on Windows - [19d41262](19d41262e4
) email/notmuch: remove mbsync & mbsync-xdg backends - [71d4748b](71d4748bcf
) Fix [hlissner/doom-emacs#4586](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4586): evilifiy org-brain - [075f801f](075f801fbb
) Add Discourse badge to README - [e46736e4](e46736e44d
) Deprecate docs/faq.org - [ee1885eb](ee1885eb9b
) Bump :lang ocaml - [dab0ec25](dab0ec25c1
) Bump :lang latex - [40d9583c](40d9583cf3
) Adjust color/style of discord/discourse badges - [6fda673b](6fda673b07
) Alphabetize :lang factor in init.example.el - [c0c42ad0](c0c42ad0b0
) Fix void-variable geiser-implementations-alist at startup - [c77cebfe](c77cebfef8
) Remove trailing slash on lsp-server-install-dir - [b1582155](b158215587
) lang/java: fail meghanada-mode gracefully if java is absent - [437f1229](437f122969
) tools/pdf: suppress "file is large" prompts for pdfs - [ebc5a5ff](ebc5a5ff1e
) lang/beancount: fix config & more electricity - [bd24be72](bd24be7236
) Reticulating splines - [65bc279e](65bc279e59
) Fix void-function geiser-impl--add-to-alist errors - [9218473c](9218473c7c
) Fix [hlissner/doom-emacs#4865](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4865): fix deprecation notice on define-minor-mode - [193382e2](193382e2e3
) Fix TAB keybind fallthrough - [a7753dd0](a7753dd058
) Rename Groovy REPL command - [c370a0ba](c370a0ba82
) Bump :lang scheme - [2ee9e375](2ee9e3759c
) More sane defaults for latex - [68d1a450](68d1a45034
) Key bindings for latex preview - [2acfbcb7](2acfbcb79d
) Bump :editor evil - [6563e89b](6563e89bda
) Indicate that lsp-describe-thing-at-point is async - [00de463d](00de463d10
) Indicate that lsp-find-implementation is async as well - [dec15832](dec15832de
) Fix [hlissner/doom-emacs#4877](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4877): dired not sorting directories first - [c339bb09](c339bb0929
) Fix [hlissner/doom-emacs#4563](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4563): ob-c.elc failed to provide feature ob-c - [c9056ddb](c9056ddb53
) Fix [hlissner/doom-emacs#4819](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4819): auto-update xterm title - [165541cd](165541cdae
) fix(input layout bepo): unmap t/s in Info-mode-map - [2e15f6ad](2e15f6ad1b
) Fix doom-module-mplist-map obsolete module warning - [233fd93b](233fd93b65
) Add custom-file trait & custom-vars list to doom/info - [6e49cb5c](6e49cb5ce2
) Reduce false positive symlinks in doom/info {emacs,doom}dir - [d7de9118](d7de9118e8
) Fix [hlissner/doom-emacs#4882](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4882): ffap lookup handler triggers twice - [1ebfa35b](1ebfa35b71
) editor/evil: fix csw, csW, css, & csp text objects - [a0de71de](a0de71dee8
) Fix [hlissner/doom-emacs#4886](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4886): fix +ivy-buffer-preview for SPC b B - [f3748b29](f3748b2977
) Fix [hlissner/doom-emacs#4559](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4559): wrong-type-arg error on RET in some comments - [065d06ed](065d06edbb
) Bump :editor evil - [473417a8](473417a890
) docs/faq: fix discourse notice - [0aaebe2c](0aaebe2ca1
) Fix treemacs + lsp doctor check - [83bfe76b](83bfe76b20
) Use correct `brew install --cask` command - [a25582f9](a25582f9a8
) Raise global default of read-process-output-max - [86fd6c62](86fd6c6214
) Raise gcmh-high-cons-threshold to default (~1gb) - [3e425ab2](3e425ab2f2
) tools/magit: reveal point if in invisible region - [1d155d0c](1d155d0c2f
) lang/org: reveal ancestors of point after saveplace - [cb4782b1](cb4782b190
) Bump :lang scheme - [bb67d3f3](bb67d3f346
) readme: relink faq to discourse & polish badges - [bddb2b2a](bddb2b2a2d
) Refactor early-init.el - [f621ff80](f621ff8047
) lang/org: fix org-ditaa jar paths
nix-doom-emacs
Status | |
---|---|
Build on master |
|
Build on develop |
|
Dependency updater |
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 experience as some dependencies 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")
'';
}
./doom.d
should contain the following three files: config.el
, init.el
and
packages.el
. If you don't already have an existing doom-emacs
configuration,
you can use the contents of test/doom.d
as a template.
Using flake.nix
:
{
inputs = {
home-manager.url = "github:rycee/home-manager";
nix-doom-emacs.url = "github:vlaci/nix-doom-emacs";
};
outputs = {
self,
nixpkgs,
home-manager,
nix-doom-emacs,
...
}: {
nixosConfigurations.exampleHost = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
home-manager.nixosModules.home-manager
{
home-manager.users.exampleUser = { pkgs, ... }: {
imports = [ nix-doom-emacs.hmModule ];
programs.doom-emacs = {
enable = true;
doomPrivateDir = ./doom.d;
};
};
}
];
};
};
}
Under the hood
This expression leverages nix-straight.el under the hood for installing dependencies. 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.
Using the daemon
To use the daemon, simply enable the emacs service (with NixOS
, home-manager
or nix-darwin
) and use the doom emacs package. doom-emacs
will need to be
referenced at the top of your config file.
services.emacs = {
enable = true;
package = doom-emacs; # use programs.emacs.package instead if using home-manager
}
to connect to the daemon you can now run emacsclient -c