github-actions[bot] a9bdae232a niv doom-emacs: update 8ba2b9ea -> adff1aa6
## Changelog for doom-emacs:
Commits: [hlissner/doom-emacs@8ba2b9ea...adff1aa6](8ba2b9eafa...adff1aa68d)

* [`529c0473`](529c047310) fix python-pytest-popup
* [`d7055090`](d7055090fe) autoload python-pytest-dispatch
* [`81380406`](813804066d) ui/emojis: New module for inserting emojis
* [`21e206cf`](21e206cf34) Fix link to issues in README
* [`add4167c`](add4167cbc) Update package name for TeXLive on Arch Linux
* [`6e30aa43`](6e30aa4395) popup: add rule for list-processes
* [`ad3ace45`](ad3ace45d2) Add scala module documentation
* [`b6fe7311`](b6fe731153) Fix hlissner/doom-emacs#4103: respect delete-by-moving-to-trash
* [`2e476de4`](2e476de446) Fix hlissner/doom-emacs#1335: company keymaps losing precedence to evil
* [`a835be1c`](a835be1c40) Fix hlissner/doom-emacs#4010: respect custom org-export-async-init-file
* [`35185b21`](35185b2175) Split doom-reload-hook into before/after hooks
* [`39059444`](390594442a) Reset which-key replacements on doom/reload
* [`b461f76b`](b461f76b0d) Fix *-local-vars-hook & doom-first-*-hook not triggering
* [`bba035a1`](bba035a1a2) Fix void-function +ivy-prescient-non-fuzzy in daemon
* [`aaf2ccaf`](aaf2ccaf58) Fixed typo in var name
* [`d6956d95`](d6956d95d2) tools/magit: add magit-diff-refine-hunk to readme
* [`077bab4c`](077bab4c90) Move org-roam-db-location to DOOMLOCALDIR/etc
* [`6778c123`](6778c1239c) Include package name in 'checked out...' message
* [`9cdb0b85`](9cdb0b85d3) Optimize large-file detection
* [`24cc0989`](24cc09895d) Enable auto-save by default
* [`1cc060c9`](1cc060c928) Bump :emacs undo
* [`4d24d754`](4d24d7548a) Print diff url in terminal in case emacs is in a remote server (hlissner/doom-emacs#4105)
* [`aa460786`](aa460786b6) Bump :lang coq
* [`b726adac`](b726adac84) Bump :lang javascript
* [`41d9e4b1`](41d9e4b161) Update config.el
* [`30c29cac`](30c29cacf1) Update config.el
* [`88b42caa`](88b42caab0) Fix user-defined flycheck-checker in lsp-mode
* [`b8575662`](b857566239) Minor refactors
* [`1c6ea878`](1c6ea87832) Remap comment-line to evilnc-comment-or-uncomment-lines
* [`98826f33`](98826f33d0) lang/latex: rethink item continuation indentation
* [`b4e66bff`](b4e66bffeb) More sensible backup/auto-save defaults
* [`9b4fd806`](9b4fd806bb) Simplify doom/info output
* [`664937a3`](664937a3f3) Bump :completion ido
* [`8892be83`](8892be8372) Correct comments on auto-save hlissner/doom-emacs#4096
* [`f92f4aab`](f92f4aab97) Fix file-handlers for daemon sessions
* [`43e3e4c8`](43e3e4c8f3) Fix hlissner/doom-emacs#3845: first tty frame crashes from daemon
* [`3907e75c`](3907e75c82) Fix hlissner/doom-emacs#3604: wrong indent-guide color in daemon frames
* [`d4e34c7c`](d4e34c7c8a) Bump :lang org
* [`562cb45e`](562cb45ef5) Fix hlissner/doom-emacs#808: latex-preview-pane reopens itself
* [`1811cae0`](1811cae05c) Fix hlissner/doom-emacs#4124: void-variable read-process-output-max
* [`d1effe2d`](d1effe2ddd) Fix keyword highlighting in Emacs 28+
* [`adff1aa6`](adff1aa68d) Fix hlissner/doom-emacs#4102: wrong-type-arg plistp errors in daemon tty frames
2020-10-24 22:38:38 +02:00
2020-09-27 12:37:17 +02:00
2019-10-23 13:25:43 +02:00

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.

Description
doom-emacs packaged for Nix [maintainers=@ckiee,@thiagokokada]
Readme MIT 3.3 MiB
Languages
Nix 64.3%
Emacs Lisp 35.7%