### Changes for doom-emacs On branch: master Commits:42e5763782...7121e993ca
- [0140a419](0140a419fd
) fix(ibuffer): wrong-number-of-args error on ibuffer-find-file w/ ivy - [8e08c651](8e08c651a6
) feat(idris): add +lsp support - [a505eae8](a505eae88f
) fix(multiple-cursors): keybinds for {next,last}-cursor - [6c4b7169](6c4b7169f0
) feat(hydra): add winner commands to +hydra/window-nav - [893b4171](893b4171b7
) tweak(file-templates): remove default JSON template - [09b3004a](09b3004abe
) feat(magit): add evil keybinds for code-review - [18f74d27](18f74d277f
) feat(org): keybinds for removing #+RESULTS blocks - [cddfa27f](cddfa27fb1
) fix(org): move org-journal localleader keybinds to 'SPC m j' - [594f554f](594f554fe1
) bump: :lang clojure - [f817e4ff](f817e4ffbd
) docs(fortran): reference the newer fortls LSP - [614aefc3](614aefc339
) tweak(vertico): ignore svn and hg dirs in file search - [0a12ccae](0a12ccae49
) fix(web): web-mode-attribute-transpose on wrong key - [4eda9329](4eda9329aa
) feat(dired): allow global hl-line in dired-mode - [aeef05bf](aeef05bfd7
) feat(org): add ::SEARCH support to id: links - [7c6ebc48](7c6ebc48d5
) bump: :lang rust - [23d77e68](23d77e688b
) bump: :lang agda - [2372365f](2372365fb8
) bump: :tools debugger lsp - [5e6689fe](5e6689fe5e
) bump: :tools direnv - [17f457ed](17f457edf7
) feat(lib): add fn!! macro - [54d8c49d](54d8c49d8b
) refactor(file-templates): suppress in indirect buffers - [0a151f4f](0a151f4f13
) refactor!(lib): remove obsolete lambda! macros - [3333eee4](3333eee466
) refactor(lib): sharp-quote & minor refactors - [b92c644a](b92c644ad8
) docs(lib): clarify setq!'s docstring - [97155412](97155412a9
) fix(emacs-lisp): missing package cookies in imenu - [319665bb](319665bbdc
) feat(lib): time stamp *Messages* lines - [2aeca577](2aeca577c8
) refactor: correct version variables - [5c52ba35](5c52ba35e7
) feat(fortran): override the default menus - [137fca35](137fca35d8
) feat(fortran): generalised build options for menu - [5c323603](5c32360361
) feat(fortran): improve keymap layout - [28a92966](28a929663b
) tweak: disable :ui doom-quit by default - [385e60cd](385e60cd26
) fix(ivy): include hidden files in counsel-file-jump - [aed2972d](aed2972d74
) fix(org): don't show parent trees by default - [8455bcf6](8455bcf6b4
) fix(ivy): omit hidden files in counsel-file-jump - [dcae7187](dcae7187b4
) refactor(lib): doom-info & remove unused commands - [d58d0847](d58d084774
) tweak(:lang,:tools): start eglot/lsp-mode later - [0e802f46](0e802f4653
) bump: :completion - [44dee403](44dee4033f
) bump: :tools debugger lsp - [45a2e8b5](45a2e8b540
) bump: :lang clojure - [9d1513af](9d1513af46
) bump: :core - [48658d21](48658d2136
) bump: :lang org - [2d108e14](2d108e14a2
) fix(org): multiple fixes for +org--insert-item - [b77699c3](b77699c38f
) nit(org): lower case keywords in file templates - [b5093a5e](b5093a5e93
) fix(doom-dashboard): :key param & keymap precedence - [c36d1702](c36d1702fb
) fix(latex): unused reftex-cite-formt value - [a9c22b70](a9c22b704b
) fix(cli): ignore system/user git configs - [78ecc56e](78ecc56ed3
) dev: move shell.nix out of test/ - [6185767c](6185767c41
) refactor(eshell,term): move hscroll-margin settings - [62cfa409](62cfa409de
) fix(latex): missing setq value - [fdf817aa](fdf817aaea
) fix(latex): install style/ etc in auctex recipe - [cf362bc1](cf362bc1a0
) fix(lib): update doom/set-indent-width for dtrt-indent - [da1eb4d1](da1eb4d107
) refactor(cli): minor refactors and comment revision - [1f0b74a7](1f0b74a7c5
) fix(lib): cases where doom/bumpify-diff fails - [806d9c01](806d9c0116
) fix(cli): remove bufler from excluded autoloads - [a48cd27d](a48cd27d79
) tweak(lib): always suppress doom-log output - [bab5bffa](bab5bffa5d
) bump: :tools - [f6fd2dc0](f6fd2dc000
) bump: :editor - [14ebfc02](14ebfc02a5
) fix(lib): wrong-number-of-args error on doom/info - [d212f3bd](d212f3bd13
) bump: :ui - [c05822ab](c05822ab39
) bump: :lang - [86901cca](86901cca7d
) refactor(rust): remove redundant code - [41cbb1fe](41cbb1fe7b
) tweak(python): update smartparens config - [ff314276](ff31427687
) tweak(python): use pyproject.toml as project file - [d54462fe](d54462fe6d
) fix(vertico): vertico-resume to vertico-repeat. - [6f8b83b8](6f8b83b884
) refactor(default,python): move smartparens config - [cf796162](cf79616202
) fix(cli): remove debug error call in 'doom version' - [2b39e413](2b39e41368
) release(modules): 22.04.0-dev - [d7ad4daf](d7ad4daf32
) dev: fix license start year - [7ada5389](7ada538991
) perf(lookup): defer consult-xref - [e8c22c77](e8c22c770b
) docs(emacs-lisp): remove sharp-quoted example for add-hook! - [4da450ff](4da450ffd7
) module: add :lang graphql - [d35157ce](d35157ce50
) fix(lib): void-variable var - [9e79aa34](9e79aa3446
) tweak(org): fold all sections on zm in org-roam buffer - [e9c088cf](e9c088cf3b
) refactor(ibuffer): move workspace functions - [c309e61e](c309e61eff
) feat(ibuffer): switch to buffer in its workspace - [86a8b41e](86a8b41e37
) refactor(beancount): +beancount/clone-transaction - [b42d7afd](b42d7afd9a
) fix(default): replace vertico-repeat w/ vertico-repeat-last - [6bbf837c](6bbf837c9f
) fix(graphql): remove *Messages* spam - [065e005d](065e005db9
) fix(org): #+ constructs hidden forever - [8e33d2d0](8e33d2d04a
) refactor(ibuffer): +ibuffer/visit-workspace-buffer - [fd991026](fd991026ff
) fix: void-function doom-partial - [499cf5e6](499cf5e626
) tweak(ivy): use helpful for counsel descbinds - [f2f583bf](f2f583bfb7
) fix: :load-path throwing error in org-src blocks - [4538225f](4538225fc5
) fix(javascript): void-function typescript-tsx-mode - [7121e993](7121e993ca
) bump: :completion Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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/nix-community/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 ];
}
./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:nix-community/nix-doom-emacs";
};
outputs = {
self,
nixpkgs,
lib,
home-manager,
nix-doom-emacs,
...
}: {
nixosConfigurations.exampleHost = lib.nixosSystem {
system = "x86_64-linux";
modules = [
home-manager.nixosModules.home-manager
({
home-manager.users.exampleUser = lib.mkMerge [
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