github-actions[bot] 58152384e8 flake.lock: Updating 'doom-emacs (hlissner/doom-emacs)' - d52abd37 -> d667a2a2
On branch: develop
Commits: d52abd37f7...d667a2a292

- [3549cb68](3549cb6845) Modify command to execute `cargo audit`
- [a460c1e3](a460c1e364) fix rails command
- [971350bf](971350bf96) remove custom server command
- [87109653](871096533f) Added in Dotnet interface with sharper through module flag
- [41b1a780](41b1a7800a) Updated ordering
- [65dfdd5c](65dfdd5c4a) [4415] remove FIXME comment
- [50131ac9](50131ac995) Add workspace support to rss/elfeed
- [d3eaad8f](d3eaad8f1c) rm notmuch-hello customization
- [16393e3a](16393e3af1) Update notmuch documentation
- [a0b661ed](a0b661edac) fix arch docs conflict
- [573d14c2](573d14c264) Include snippets in lsp completion
- [01f54d29](01f54d2950) Add comment for further maintenance
- [5293c460](5293c460db) Refactor doom--help-insert-button
- [b983929e](b983929e82) Refactor doom/help-packages
- [bf185edd](bf185edd91) Prefer readability over a line length < 80
- [065b26e0](065b26e0c5) [:ui layout bepo] Fix notmuch, C-, M- mappings
- [4e531646](4e5316464c) Refactor and add contribution ideas
- [ec747395](ec747395c6) Add support for parinfer-rust-mode ([hlissner/doom-emacs⁠#1](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/1))
- [eae7ca2c](eae7ca2c57) term/eshell: alias cdp to cd-to-project
- [b8b51cee](b8b51cee7b) Simplify after!
- [a79275a4](a79275a476) Bump :lang
- [37e9653c](37e9653ce3) Bump :ui
- [ddd4c032](ddd4c03281) Bump :checkers
- [b681a2e1](b681a2e1b4) Fix +zen/toggle-fullscreen keybind for vanilla users
- [9d12761c](9d12761c39) Reformat for consistency and s/:bind/:general
- [1490c4e5](1490c4e5b2) lang/ruby: remove commit hashes in package links
- [cd083bc0](cd083bc059) tools/lsp: fix +lsp-prompt-to-install-server == 'quiet
- [2ce726b3](2ce726b318) Force async babel blocks to export synchronously
- [3c9b1635](3c9b1635ef) Bump :completion
- [e858e254](e858e254b0) Bump :tools
- [a3f242d4](a3f242d4b6) tools/lsp: only enable sideline icons in 27.x+
- [c049480c](c049480cbd) Fix evil-join filling non-comments poorly
- [03fa2eaf](03fa2eafee) Bind SPC o F to select-frame-by-name
- [1274de3d](1274de3d34) Minor reformatting & refactors across the board
- [6cb5c381](6cb5c381b8) Disable dtrt-indent in pascal-mode
- [e05d804f](e05d804f1f) Restore the old buffer when using `ivy-call'
- [9a776268](9a77626804) Omit all but SVN, Git & Hg from vc-handled-backends
- [bbdea54b](bbdea54b77) app/rss: fix empty rmh-elfeed-org-files
- [9ef11d0e](9ef11d0e31) Auto-truncate compilation buffers
- [7e491ce1](7e491ce1c0) lang/lean: minor reformatting
- [15f7a26b](15f7a26be6) Refactor +vc-gutter-init-maybe-h
- [ed86f996](ed86f99655) lang/org: open org links to remote paths in emacs
- [f2616141](f26161410c) lang/org: add TODO keywords & fontification
- [f1d89bf9](f1d89bf9c2) Bind gI and gA to new +lookup commands
- [ee1c2b4e](ee1c2b4ef6) Use "Search Project [project]" prompt for file search
- [b71b1283](b71b128398) lang/terraform: Set docsets for terraform-mode ([hlissner/doom-emacs⁠#4546](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4546))
- [5d8cbb95](5d8cbb9541) evil-org-mode-map's CSright conflict with Cright
- [5c7b553e](5c7b553e08) Enable lispy-mode during eval-expression.
- [86345887](86345887d8) Fixing the gpl template clash.
- [9c67bf00](9c67bf0044) lang/org: revert org-footnote-auto-label to default
- [de924daf](de924daf47) Fix [hlissner/doom-emacs⁠#4704](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4704): invalid image spec error from lsp-ui
- [4ff23752](4ff23752f2) Update parinfer module to comply with review.
- [8262e1b5](8262e1b552) Fix incorrect indentation.
- [ca673a43](ca673a437c) Move paren.
- [1a3c3ddf](1a3c3ddf34) Use `setq` instead of `setq!`.
- [96ba4b0b](96ba4b0b38) Use easier to read line break.
- [6de1e56d](6de1e56d4f) Fix `+debug/start` for dap-based debuggers.
- [8c33866b](8c33866b21) Forgot to add use-package! for projectile-variable
- [cf3d9eb6](cf3d9eb6e0) Handle empty input in +debugger-completing-read
- [462efded](462efded5f) Fix +debugger/quit
- [44803038](44803038b2) Remove dash dependency
- [ba0f791b](ba0f791b05) lang/julia: improve lsp support ([hlissner/doom-emacs⁠#4012](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4012))
- [2ebc4be1](2ebc4be111) lang/org: reformat keybinds
- [49c3c84d](49c3c84d7f) lang/org: disable ob-async on export or :session
- [c5e3f4d6](c5e3f4d632) New autoload/system.el core library
- [ee26c02e](ee26c02e1c) Add org-agenda-priority keybindings to org config ([hlissner/doom-emacs⁠#4521](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4521))
- [f151b3de](f151b3de45) Load `autoload/system` in `core-cli`
- [0026404b](0026404b34) Use new CPU counter function in cc module
- [f3e527cd](f3e527cd3d) Set sh-mode's docsets to '("Bash").
- [8ccba925](8ccba925dd) Fix parsing issue in doom-system-distro{,-version}
- [ce1105b4](ce1105b463) lang/org: suppress :async+:session warnings for blacklisted langs
- [19563de3](19563de316) Restore fallback warning removed by ce1105b46
- [3d114d63](3d114d6356) tools/docker: default to evil normal state
- [468f3081](468f308114) Fix +org/refile-to-other-window in indirect buffer ([hlissner/doom-emacs⁠#4721](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4721))
- [70c8ca30](70c8ca30b2) Update docstrings for doom/window-{enlargen,maximize-buffer}
- [d5019f0b](d5019f0b57) Add docstring to +org/refile* commands
- [2ab8800b](2ab8800bb4) Fix [hlissner/doom-emacs⁠#4726](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4726): void-variable org-babel-async-language-blacklist
- [672e37b9](672e37b9aa) Bump :app everywhere
- [4a54a4bd](4a54a4bd64) Add warning to issue template
- [61e8069a](61e8069adc) Remind folks to search PRs in PR template
- [f8ed309b](f8ed309b50) lang/julia: include submodules for lsp-julia
- [7798aa91](7798aa9190) Fix repo location in doom/help-packages
- [3bb27173](3bb271738a) Fix void-variable disto on M-x doom/info
- [fa292beb](fa292bebbb) Fix the "Yank file path" non-evil bindings
- [cf086d08](cf086d08fa) Minor refactor & use doom-store-* API
- [543d1226](543d122643) editor/evil: disable evil-collection-outline
- [0a9172a8](0a9172a8f2) tools/lookup: fall through if xref backend fails
- [430d628b](430d628b00) tools/lsp: use xref backend as lookup handler
- [e52fd138](e52fd138e2) Refactor autoload/store.el library
- [7afe5dc5](7afe5dc5c3) tools/lsp: fix void-function lsp--require-packages error
- [6127d15c](6127d15cea) tools/debugger: use realgud:trepanpl for raku-mode
- [a912a6c3](a912a6c313) ui/zen: prevent type error in writeroom-mode
- [d9dac055](d9dac055a6) ui/vc-gutter: minor refactor
- [fa29a3cf](fa29a3cf1d) Ensure associated workspace is deleted on server-done too
- [1b81337d](1b81337d8d) email/notmuch: correct & reformat readme
- [494d87d0](494d87d0b4) email/notmuch: update readme
- [2fa0dca0](2fa0dca041) doc/adding editorconfig and hl-column-fill documentation ([hlissner/doom-emacs⁠#3815](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/3815))
- [a405735c](a405735c10) tools/editorconfig: proofread readme
- [55cfe0cc](55cfe0cca4) Fix TAB fallthrough for evil keybinds
- [4003d1fd](4003d1fdea) app/calendar: add cfw:details* popup rule
- [b5f25891](b5f258914d) app/calendar: add evil keybind scheme
- [73991387](7399138736) app/calendar: minor refactor & reformatting
- [cf31d260](cf31d2605f) app/calendar: fix edge case with +calendar/quit
- [f272137e](f272137e12) app/calendar: fix C-{l,j,k} in details buffer
- [287e3e83](287e3e83b2) Bump :ui treemacs
- [7b07e612](7b07e612b4) Added emms as doom module { :app emms } ([hlissner/doom-emacs⁠#3581](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/3581))
- [87e209ba](87e209badc) Remove vestigial mentions of the :feature category
- [329864ba](329864ba9d) Update docs/modules.org
- [235c3863](235c386368) Add :app emms to init.example.el
- [08de1856](08de1856fa) Fix [hlissner/doom-emacs⁠#4733](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4733): aggressive saving of org capture buffers
- [1e7fb8b9](1e7fb8b915) Remove sourcerer.io hall-of-fame from README
- [0917187f](0917187f20) editor/evil: bind C-w {S,V} to split-and-follow
- [e4539bb5](e4539bb56c) ui/ligatures: fix over-eager activation
- [27d3e73f](27d3e73fb7) os/macos: activate ns-auto-titlebar-mode later
- [169d0b2e](169d0b2ed5) Emacs lisp: fix variable value display in eldoc
- [2a4509c4](2a4509c42a) editor/evil: fix typo in +evil-window-split-and-follow
- [4c7c9cac](4c7c9cacd3) os/tty: proofread readme
- [0ebd58c9](0ebd58c991) Purge ignored projects from cache/known projects
- [f8d181a8](f8d181a8c4) Ignore remote/temp files or packages as projects
- [d807657b](d807657ba7) s/prereqisites/prerequisites
- [210b3bb0](210b3bb059) ui/zen: remove redundant mixed-pitch faces for org
- [04a70e23](04a70e23c4) ui/zen: proofread & expand readme
- [638c9801](638c980163) Revert 27d3e73
- [f0eb0151](f0eb0151f6) evil-respect-visual-line-mode = t
- [6b173c5c](6b173c5cc5) Remove mention of removed -p in 'doom help install'
- [302a76a0](302a76a06e) app/everywhere: use MELPA recipe
- [4192d87d](4192d87dcd) Redesign doom/info
- [4ed27f61](4ed27f615e) Request users pastebin their M-x doom/info, etc
- [af775b2f](af775b2f60) Delete docs/workflow.org
- [269dab61](269dab615c) org-capture: text from args, else stdin
- [973f23b1](973f23b1df) `git-commit': fix variable predicates
- [f6de6620](f6de662011) Keep treemacs-mode in aw-ignored-buffers
- [5069d95b](5069d95b42) Fix [hlissner/doom-emacs⁠#4745](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4745): defining as dynamic an already lexical var
- [ff58823d](ff58823d48) Fix 'wrong type arg: overlayp' error from ivy+nav-flash ([hlissner/doom-emacs⁠#4749](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4749))
- [f0d601d2](f0d601d2ac) ui/nav-flash: refactor
- [cf44c43f](cf44c43f41) Simplify doctor's native JSON detection
- [3861225f](3861225f0b) Fix 'too many arguments' error on org-capture
- [12cf59cf](12cf59cf73) Prioritize company-capf over company-yasnippet
- [ab7710ad](ab7710adfd) doom-info: fix args-out-of-range error
- [7e1f5da1](7e1f5da169) lang/emacs-lisp: respect lexical-binding in eval handler
- [a863fe89](a863fe89d0) Bump :lang python
- [fe6981b2](fe6981b245) Bump :tools pdf
- [79c61629](79c61629a5) Better defaults for dired
- [14eb254b](14eb254b4b) Bump :tools magit
- [b0bec922](b0bec922a9) Fix [hlissner/doom-emacs⁠#4758](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4758): wrong-type-arg listp on doom-store-persist
- [de781f7a](de781f7a0b) ui/zen: enable mixed-pitch-mode in adoc-mode & rst-mode
- [4a08acd2](4a08acd234) Bump :ui doom
- [e33b21dc](e33b21dc46) Fix [hlissner/doom-emacs⁠#4770](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4770): New window is focused after split
- [7870350f](7870350f84) Fix [hlissner/doom-emacs⁠#4768](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4768): don't ignore remote projects
- [62df2c38](62df2c386a) Fix [hlissner/doom-emacs⁠#4766](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4766): workaround for ivy-prescient wrong-type-arg error
- [a2eac47a](a2eac47a75) doc: add crystal README ([hlissner/doom-emacs⁠#4764](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4764))
- [d76d50c1](d76d50c1c9) Fix [hlissner/doom-emacs⁠#4676](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4676): one-off on go-to-EOL if comment at BOL
- [7c38eee9](7c38eee96c) Fix [hlissner/doom-emacs⁠#4727](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4727): wrong-type-arg error on async org export
- [377608c5](377608c54b) Fix [hlissner/doom-emacs⁠#4651](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4651): don't trigger formatters on org tangle
- [e8fe7582](e8fe7582a3) fix doom-{after,before}-reload-hook doc strings
- [9f08db8e](9f08db8e33) Fix [hlissner/doom-emacs⁠#4759](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4759): suppressed doom-first-file-hook side-effects
- [cdcdde33](cdcdde3354) Fix `+debugger/start` not working ([hlissner/doom-emacs⁠#4782](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4782))
- [abec8631](abec86310b) Fix [hlissner/doom-emacs⁠#4777](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4777): wrong-type-argument listp unpin error
- [26319322](26319322b2) Remove redundant straight--build-compile advice
- [fa4f03de](fa4f03de22) Fix [hlissner/doom-emacs⁠#4784](http://r.duckduckgo.com/l/?uddg=https://github.com/hlissner/doom-emacs/issues/4784): browse-at-remote-prefer-symbolic = nil
- [a13639bd](a13639bde0) Revise issue template (again)
- [ce22f75a](ce22f75a57) Fix string type error from doom-store API
- [d667a2a2](d667a2a292) Fix expiration of doom-store entries
2021-03-15 09:05:25 +01:00
2021-01-23 17:15:48 +01:00
2021-01-23 17:15:48 +01:00
2019-10-23 13:25:43 +02:00
2021-03-12 10:53:18 +01: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%