github-actions[bot] c7bda51356 niv org-mode: update 8a083514 -> e2bb6058
## Changelog for org-mode:
Commits: [emacs-straight/org-mode@8a083514...e2bb6058](8a083514a7...e2bb60581b)

* [`b567445f`](b567445fcb) Fix syntax of #+ATTR_HTML
* [`8efec3d4`](8efec3d4cd) Fix example of in-buffer setting of archive location in manual
* [`755367f3`](755367f362) org.el (org-end-of-meta-data): Allow to skip only standard drawers
* [`54bdd6cb`](54bdd6cbf7) org-notify.el: Use cl- prefixed functions, and require cl-lib
* [`b01332c8`](b01332c87e) org-notify.el: Limit the number of notifications
* [`9c31cba0`](9c31cba002) org-table.el: Throw an error when importing a non-csv/tsv/txt file
* [`b14fb06d`](b14fb06def) org.el: Adapt org-cycle to work with headlines with hidden stars
* [`bbe447ad`](bbe447adc7) lisp/org-capture.el (org-capture-templates): Fix docstring typo
* [`56b8f8c3`](56b8f8c35b) lisp/org.el: Bump version to 9.4
* [`353a326e`](353a326e4f) lisp/org.el: Update version to 9.5-dev
* [`eda0c601`](eda0c60120) etc/ORG-NEWS: Create an empty section for Org 9.5
* [`fbccf09c`](fbccf09c74) etc/ORG-NEWS: Create an empty section for Org 9.5
* [`10ed4994`](10ed4994f5) table: Fix regexp
* [`7dbd749b`](7dbd749bf8) Tiny refactoring
* [`469ee634`](469ee63401) ob-core: Fix handling of multiple noweb refs in same line
* [`38fbd161`](38fbd161e4) Fix meta lines regexp
* [`73c929e3`](73c929e3b5) org-element: Swap pcase patterns to avoid Emacs 24 error
* [`114229da`](114229da6e) org.el: Fix docstring typo
* [`3eccc537`](3eccc537cd) org.el: Fix regression in handling of empty #+TAGS
* [`c20cb099`](c20cb0993b) Address org-eldoc-recursion issue
* [`6c75b002`](6c75b00217) Allow customised ID format for `ts' `org-id-method'
* [`d06aa486`](d06aa486d6) Add in support for filling in the bare link in org capture
* [`2f9e1569`](2f9e1569f0) org.el: Allow transparent background in latex images
* [`e2bb6058`](e2bb60581b) doc/org-manual.org (Org Crypt): Add info links to epa and GnuPG
2020-10-12 22:56:19 +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%