github-actions[bot] 8aa15e59b3 flake.lock: Updating 'doom-emacs (hlissner/doom-emacs)' - 27316850 -> 46732c0a
### Changes for doom-emacs

On branch: develop
Commits: 2731685095...46732c0ada

- [9478a6a9](9478a6a901) lang/latex +fold: fix error when yas-snippet-{beg,end} are nil
- [db83e94b](db83e94bad) Remove dependence on company for fish and bash completion
- [5c54ae13](5c54ae1329) lang/json/doctor: only check for jq if ivy is on
- [cbfd2fad](cbfd2fadc0) [:input layout bepo] Remove "W" convenience remap
- [012b759e](012b759e98) Fix [hlissner/doom-emacs⁠#5128](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/5128): No format-on-save by lsp-formatters
- [03385155](033851556a) lang/lua: document fennel support in readme
- [3eac1f4e](3eac1f4e8a) removed unused use in "file-template rust main"
- [8f89e58c](8f89e58c3a) remove duplicate '+' from kotlin +lsp
- [7f878700](7f87870099) Bump flycheck-kotlin
- [b3dfd475](b3dfd4758d) don't explicitly set `projectile-completion-system`
- [25468835](2546883543) The dart config was setting the 'flutter-run-or-hot-reload' keybind with init, so if you changed the localleader in your settings, it would stay as SPC m rather than what localleader was mapped to
- [bb677cf7](bb677cf7a5) Prevent extra variable from being passed in macro.
- [c091b27e](c091b27e4a) Made changes specified in pull request
- [8c3a8352](8c3a83526b) Filter directories when purging straight repos
- [ff2d5679](ff2d56794e) Don't activate sly-mode in lisp-mode derived modes
- [044a1a5f](044a1a5f2b) Drop Emacs 26.x support
- [38bc1ab8](38bc1ab81a) Bump :tools pdf
- [9198b038](9198b03807) Bump :core
- [19edcb93](19edcb9314) Change doom-version to 3.0.0-alpha
- [3ccc12c1](3ccc12c16b) Add init.example.el one-liner for :tools lsp
- [6a23c614](6a23c6142b) tools/direnv: refactor
- [2d2246d7](2d2246d7ca) term/eshell: alias ff = find-file-other-window
- [7925759b](7925759b8e) Set the lsp-ui-sideline-actions-icon to the default
- [74fc7ae6](74fc7ae664) Fix command to show git log of current buffer file
- [43ddb109](43ddb10970) docs/faq: fix evil-snipe instructions
- [400fa083](400fa0836d) editor/evil: update disable instructions in readme
- [04eb44a6](04eb44a610) tools/pass: remove auth-source-pass recipe
- [ef84fce6](ef84fce68c) Define sh-mode for bats files
- [80db3110](80db3110a5) Made changes specified in pull request
- [6438172e](6438172e74) Fix [hlissner/doom-emacs⁠#5224](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/5224): void-function error on +vc/* commands
- [8ad846e1](8ad846e15b) Fix [hlissner/doom-emacs⁠#5198](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/5198): blacklist WSL_INTEROP in envvar file
- [ff2e75b1](ff2e75b15e) Remove checkboxes in issue forms
- [57026c4b](57026c4b70) Fix [hlissner/doom-emacs⁠#5169](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/5169): x-underline-at-descent-line = nil
- [1a96f5b0](1a96f5b002) Fix [hlissner/doom-emacs⁠#5176](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/5176): don't prompt on gt/gT (tab switch)
- [09226f90](09226f905d) Fix [hlissner/doom-emacs⁠#5155](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/5155): interactive specs for tmux commands
- [5be988ac](5be988ac31) Bump :emacs dired
- [80c32eaa](80c32eaa89) Fix [hlissner/doom-emacs⁠#5176](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/5176) (again): wrong interactive arg to gt/gT commands
- [36d186d1](36d186d1cd) Fix [hlissner/doom-emacs⁠#4665](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4665): don't close annotation window on ESC
- [42ff3691](42ff369142) `SPC TAB N` binding ([hlissner/doom-emacs⁠#5173](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/5173))
- [bafb3920](bafb392031) Fix fonts losing properties when resized
- [ba716d69](ba716d69f0) Fix [hlissner/doom-emacs⁠#5125](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/5125): mix snippets with completion candidates
- [3aec4070](3aec407056) remove ripgrep dependency from ivy and helm readmes
- [29460d20](29460d205e) Bump :ui
- [6997adb6](6997adb654) Bump :tools
- [9df3072e](9df3072e94) Bump :checkers
- [34fae1c0](34fae1c01c) Remove remaining `Emacs27+` checks
- [721d5dd8](721d5dd853) Bump jupyter
- [3aeb0c06](3aeb0c060f) Fix [hlissner/doom-emacs⁠#5195](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/5195): workspace is killed on magit commit
- [243cb43f](243cb43fec) Fix [hlissner/doom-emacs⁠#5187](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/5187): syntax highlighting in ielm REPL
- [aeb809ed](aeb809ed8b) Bump :app
- [8da669ad](8da669adf0) Fix [hlissner/doom-emacs⁠#5253](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/5253): error if message is called with nil arg
- [ab334559](ab334559f5) Bump :ui nav-flash
- [933dcc4d](933dcc4d19) Bump :completion
- [95f40c62](95f40c62ab) Add doom/bumpify-diff & doom/commit-bumps commands
- [d79cea2e](d79cea2e4c) Minor refactors, reformatting, & comment revision
- [f523830a](f523830a0e) Don't load core-cli on doom/reload
- [cbb0ce9f](cbb0ce9f85) Don't log hooks
- [ec956697](ec95669710) lang/javascript: remove coffee-mode
- [6be22624](6be2262423) Bump :lang
- [55c9cde6](55c9cde6ee) Bump :ui doom
- [69cfc602](69cfc60243) Bump :editor
- [084918f4](084918f4ea) editor/evil: correct evil-collection module name
- [e2ca32bd](e2ca32bd6b) Fix fill column indicator toggle on 'SPC t c'
- [9ffa5d6c](9ffa5d6c2f) org-roam-link-use-custom-faces = everywhere
- [4af3f4c4](4af3f4c435) Update ui/deft README to new format
- [5c741cb6](5c741cb65f) Fix [hlissner/doom-emacs⁠#5255](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/5255): reload session after dashboard init
- [6672ee5c](6672ee5cf5) Simplify session persistence
- [aad7bc52](aad7bc521f) markdown-nested-imenu-heading-index = nil
- [8b95aa5d](8b95aa5d3e) lang/racket: add +lsp flag
- [edc527bb](edc527bb26) tools/lsp: add lsp-racket to lsp-client-packages
- [cdbd39ba](cdbd39ba26) emacs/undo: increase undo-outer-limit
- [813a60ef](813a60ef6d) Implemented the requested changes
- [8862f869](8862f8694c) Activate general-auto-unbind-keys post-startup
- [a760c679](a760c679a3) lang/beancount: remove redundant lsp config
- [4230ab9a](4230ab9ae6) docs/index: fix link to noel welsh's crash course
- [9811756e](9811756e80) Bump :lang org
- [d61a38ff](d61a38ff71) spell: fix undefined variable
2021-07-27 15:36:40 +02:00
2021-06-29 23:06:23 +02:00
2021-05-21 00:15:09 +02:00
2019-10-23 13:25:43 +02:00
2021-06-29 23:06:23 +02:00
2021-01-23 17:50:22 +01:00

nix-doom-emacs

Status
Build on master Build Status on master
Build on develop Build Status on develop
Dependency updater Dependency Updater Status

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/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")
  '';
}

./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:vlaci/nix-doom-emacs";
  };

  outputs = {
    self,
    nixpkgs,
    home-manager,
    nix-doom-emacs,
    ...
  }: {
    nixosConfigurations.exampleHost = nixpkgs.lib.nixosSystem {
      system = "x86_64-linux";
      modules = [
        home-manager.nixosModules.home-manager
        {
          home-manager.users.exampleUser = { pkgs, ... }: {
            imports = [ 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

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