### Changes for doom-emacs On branch: develop Commits:e2a11d24fd...6d2c6b44fa
- [1e1838d2](1e1838d29b
) fix [hlissner/doom-emacs#4901](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4901): suppress strange behavior of org agenda commands - [79552343](7955234308
) Improve Elixir module keymaps - [1197d640](1197d640f1
) Defer adding to LSP ignore list - [dd950f09](dd950f0985
) add "an" to description - [4edbe3bd](4edbe3bd65
) notmuch readme: add keymaps features subheaing - [2bf97211](2bf97211ff
) notmuch: add lieer links - [76b9ab18](76b9ab18dd
) notmuch: add links about sending mail - [ea389b8e](ea389b8eb2
) Restore file-name-handler-alist a little sooner - [9561089f](9561089ff5
) Remove redundant comp-deferred-compilation setting - [075e66f4](075e66f4d7
) Fix [hlissner/doom-emacs#4991](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4991): writeroom-mode + mixed-pitch not remapping fonts - [b2c4e0f1](b2c4e0f168
) editor/format: disable formatter for rustic-mode - [578dddd3](578dddd3fe
) Fix [hlissner/doom-emacs#5000](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/5000): bad load order for auxiliary fonts - [61376a2c](61376a2ca0
) Fix [hlissner/doom-emacs#5001](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/5001): disable formatter in org-msg-edit-mode - [195ad0fe](195ad0fec6
) Fix [hlissner/doom-emacs#5003](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/5003): rethink +magit/quit - [0fb8136b](0fb8136b3b
) Add counsel-jq to ivy-prescient-sort-commands - [056880e1](056880e1df
) notmuch: rm dead code - [113dcd74](113dcd74cf
) Refactor UTF-8 config - [f989bf60](f989bf60f0
) Rewrite how themes are loaded, and fonts reloaded - [6e541b01](6e541b01e5
) Add issue contact links - [ddd1ae43](ddd1ae43f8
) Reconfigure & expand github workflows - [92a378c8](92a378c8d0
) Fix contact_links config - [9cc7e3ac](9cc7e3ac7d
) Replace bug_report issue template with form - [f2b397ba](f2b397ba52
) Fix bug_report issue form - [5a9171ed](5a9171ed5c
) Fix "About can't be blank" issue form error - [1c549f21](1c549f21d6
) Fix custom-set-faces\! & custom-theme-set-faces\! - [f3c496d2](f3c496d295
) Fix [hlissner/doom-emacs#5009](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/5009): custom-{,theme-}set-faces\! at startup - [856f8b6a](856f8b6aeb
) Fix [hlissner/doom-emacs#4995](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4995): adapt to renamed comp-* symbols - [27e9c756](27e9c756ea
) Fix references to comp-async-cu-done-hook - [efb89435](efb8943568
) :lang clojure: Add some links and details - [62d2f275](62d2f27510
) Fix references to comp-eln-load-path - [7332a6f7](7332a6f798
) Refactor doom--recentf-file-truename-fn - [9ef70879](9ef708796c
) Remove JasonEtco/is-sponsor-label-action workflow - [cab8f03a](cab8f03a51
) Convert custom-{,theme-}set-faces! to functions - [8f3b7986](8f3b798620
) Fix [hlissner/doom-emacs#5000](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/5000): ensure 'doom always has precedence - [a4a64b9c](a4a64b9c6c
) Revise bug report form - [80450402](804504025c
) fix(:input layout bepo): Ensure eshell rotation goes after evil-collection maps - [10f9ec44](10f9ec44a0
) Revert "Convert custom-{,theme-}set-faces! to functions" - [d44c57f0](d44c57f01a
) Add :defer support to add-hook! macro - [a1fdc77d](a1fdc77dc1
) lang/org: fail gracefully on org-roam-mode failure - [cebbd76f](cebbd76f3d
) Revert to 'user theme - [33e7f081](33e7f081a7
) Restore hl-line-sticky-flag defaults - [5b50a57b](5b50a57b85
) Correct comments in doom-run-hook-on - [91573dd9](91573dd95f
) Fix site files not loading in batch session - [ea9753a5](ea9753a5f2
) Fix [hlissner/doom-emacs#4989](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4989): pdf scaling on retina displays - [b2f19c4b](b2f19c4bd7
) use setq-default for notmuch-search-oldest-first - [5e8648e6](5e8648e6c1
) Add more issue forms and rewrite PR template - [b029fdfc](b029fdfc9c
) evil-respect-visual-line-mode = nil - [dbcf7b4f](dbcf7b4f31
) docs/modules: add missing README.org links - [c19b3c82](c19b3c827d
) Add CODEOWNERS file - [857d266e](857d266e72
) Inhibit format-all in modes without a formatter - [fdfd60db](fdfd60dbad
) Don't call uname on Windows for doom/info - [eab954bd](eab954bdfc
) Add another potential fix for icon misalignment in doom-modeline ([hlissner/doom-emacs#5017](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/5017)) - [cbbbf0de](cbbbf0de5c
) fix(input layout bepo): remap visual-line-mode-map ([hlissner/doom-emacs#5019](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/5019)) - [8492e9ba](8492e9ba93
) Bump :editor snippets - [4397f012](4397f0123f
) Fix custom{,theme-}set-faces!, again - [3c19d952](3c19d9528e
) Bump :ui nav-flash - [87e48cbc](87e48cbc90
) Add git-timemachine support to browse-at-remote - [6584aa86](6584aa866f
) lang/julia: lsp-enable-folding = 1 - [b98b6fde](b98b6fdeed
) lang/julia: auto-detect default environment - [ea3adb0e](ea3adb0e72
) Revise PR template - [febe4a74](febe4a7403
) Fix [hlissner/doom-emacs#5035](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/5035): assocate *.beancount with beancount-mode - [926ba626](926ba626b7
) Minor clarification in issue forms - [980b3730](980b3730f1
) lang/beancount: fix beancount-mode+lsp support - [b0e59ccd](b0e59ccdcc
) Fix [hlissner/doom-emacs#5030](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/5030): leave rustfmt to :editor format - [5fca440b](5fca440beb
) lang/beancount: add beancount-langserver support - [6ad4f069](6ad4f0698e
) Fix [hlissner/doom-emacs#4995](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4995): adapt to more renamed comp-* symbols - [54c67eb2](54c67eb29e
) Fix [hlissner/doom-emacs#5038](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/5038): renamed comp variables in sandbox loader - [80295728](80295728d8
) editor/parinfer: refactor - [87d15700](87d15700bd
) Fix [hlissner/doom-emacs#5038](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/5038): sandbox redefining comp var aliases - [d2426d84](d2426d8442
) Disable company-mode in vterm-mode - [1c0cfd45](1c0cfd459b
) Don't invoke company on TAB if company-mode isn't active - [2dbeb0d1](2dbeb0d161
) Fix org-tree-slide-after-narrow-hook reference - [485f0972](485f097297
) Make native-comp-* aliases more robust - [b092d79d](b092d79d35
) Fix reference to comp-deferred-compilation-deny-list - [fef242aa](fef242aa34
) Fix bin/doom compile error introduced by e2a11d24fd4ea - [ce11a98b](ce11a98b70
) Alias native-comp-* on any Emacs 28+ build - [6d2c6b44](6d2c6b44fa
) Refactor comp-effective-async-max-jobs advice
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