github-actions[bot] d0b4c31e14 niv org-mode: update 40474827 -> 7bc18ebb
## Changelog for org-mode:
Commits: [emacs-straight/org-mode@40474827...7bc18ebb](40474827ea...7bc18ebbed)

* [`66537267`](66537267eb) org-num: Add tests
* [`30a50d1c`](30a50d1c0f) ob-python: Fix discrepancy of single/multi-line code blocks
* [`632ceabb`](632ceabb14) ob-python: Refactor session evaluation
* [`e8ebf5d6`](e8ebf5d6c9) Add other-tab option for org-agenda-window-setup
* [`7bc18ebb`](7bc18ebbed) ob-core: Avoid table conversion warning for empty results
2020-09-15 13:02:02 +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

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