## Changelog for org-mode: Commits: [emacs-straight/org-mode@e2bb6058...8402c4a7](e2bb60581b...8402c4a778
) * [`83c93e6f`](83c93e6fed
) org-capture.el: Give a default value when prompting for a property * [`979e82fc`](979e82fc30
) Make sure that headline faces take precedence * [`a409e103`](a409e10335
) ob-java: create package dirs before write to file * [`b3981104`](b39811048a
) lisp/ob-java.el: Add Ian Martins as the maintainer * [`8f2fb406`](8f2fb4066b
) Update customize-package-emacs-version-alist * [`18099ead`](18099eadee
) org-capture: Update :package-version for org-capture-templates * [`bc96649e`](bc96649e2e
) org-id: Add some keywords to the new org-id-ts-format option * [`488076e0`](488076e0a6
) Describe new %L formatting for org-capture * [`8c44f2e3`](8c44f2e33f
) ORG-NEWS: Move org-id-ts-format entry to v9.5 heading * [`1d66a58a`](1d66a58a22
) capture: Fix bare link "Args out of range" * [`ab00524f`](ab00524fc5
) Fix `org-lint-link-to-local-file'. * [`4b6495c3`](4b6495c3ba
) ob-python: Improvements to :return header argument * [`f8ae0cd6`](f8ae0cd6b7
) org: Fix a docstring typo * [`6676a97d`](6676a97d27
) org-tags-expand: Fix handling of downcased group tags * [`5d4c0f59`](5d4c0f59d8
) Do not remove trailing newline when deleting planning info line * [`84bfc688`](84bfc688d6
) org: Fix a docstring typo * [`8d3610df`](8d3610df08
) org-capture.el: Fix heading's position when inserting a template "here" * [`1a0344ab`](1a0344abb7
) entities: Fix "empty" entity in LaTeX * [`ddcccbc0`](ddcccbc012
) Backport commit 78eacf31e from Emacs * [`9a6689f9`](9a6689f9ce
) Backport commit c6fa0ad31 from Emacs * [`41651f4e`](41651f4ed0
) id: Close unnecessary buffers after having looked for an ID * [`d9884cfa`](d9884cfa70
) lisp/ob-core.el: Allow passing empty vector to :file-desc to omit description * [`f0902bf1`](f0902bf185
) org.el (org-display-outline-path): Fix invalid face reference error * [`23f9415c`](23f9415c6a
) Make headline faces precede checkbox statistics * [`1f164439`](1f1644396b
) ob-python: Rename exec tmpfile handle to prevent conflict * [`b1de0c8e`](b1de0c8e4b
) Fix regression in priority fontification * [`ba6cf464`](ba6cf4645f
) org.el: Avoid repeated calls in org-font-lock-add-priority-faces
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.