github-actions[bot] 860f195b48 flake.lock: Updating 'nixpkgs (NixOS/nixpkgs)' - 1f32038d -> 0867f627
On branch: nixpkgs-unstable
Commits: 1f32038df1...0867f62742

- [f003d2c9](f003d2c9ce) drone-runner-exec: init at unstable-2020-04-19 ([NixOS/nixpkgs⁠#115003](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/115003))
- [5a7d2375](5a7d237529) dpt-rp1-py: unstable-2018-10-16 -> 0.1.12
- [48c2a14f](48c2a14fe0) mutt: 2.0.5 -> 2.0.6
- [6dcd1e4c](6dcd1e4c6a) lollypop: 1.4.16 -> 1.4.17
- [52de3976](52de3976b8) doc: replace &lt; with < in Markdown
- [c408936e](c408936e23) python3Packages.pypykatz: 0.3.15 -> 0.4.2
- [f956dd3f](f956dd3ff5) vscx/ms-vsliveshare-vsliveshare: 1.0.2902 -> 1.0.3912
- [17c4f6fa](17c4f6fa36) chromium: Make get-commit-message.py more robust
- [5dc759af](5dc759afec) ocamlPackages.rope: use Dune 2
- [60785fe4](60785fe4db) ocamlPackages.dune: rename into dune_1
- [a104d2b1](a104d2b18c) ocamlPackages.dune_1: disable for OCaml ≥ 4.12
- [df885b71](df885b718c) zstxtns-utils: use stdenvNoCC
- [2ef5683c](2ef5683cd9) palemoon: 29.0.1 -> 29.1.0
- [ffe611ce](ffe611cec8) weechat: 3.0.1 -> 3.1
- [060efbe3](060efbe394) cadaver: Fix building with current openssl
- [3ceb217e](3ceb217e21) zz: unstable-2021-01-26 -> unstable-2021-03-07
- [18750336](1875033648) python3Packages.python-telegram-bot: 13.0 -> 13.3 ([NixOS/nixpkgs⁠#115287](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/115287))
- [01f13677](01f13677b9) pythonPackages.google-music: drop
- [396f04a7](396f04a75f) pythonPackages.google-music-proto: drop
- [eb563d8b](eb563d8bea) pythonPackages.google-music-utils: drop
- [9fc36e1b](9fc36e1b7f) google-music-scripts: drop
- [1080bd32](1080bd321c) google-musicmanager: drop
- [aef2a70f](aef2a70f67) google-play-music-desktop-player: drop
- [e3efd452](e3efd45261) mopidy-gmusic: drop
- [874ecc62](874ecc62d2) tuijam: drop
- [46aeb3a4](46aeb3a48d) beets: remove Google Play Music support
- [b961b571](b961b571bb) pythonPackages.gmusicapi: drop
- [00210fcf](00210fcf0d) beetsExternalPlugins.alternatives: 0.9.0 -> 0.10.2
- [3c51c0f3](3c51c0f39a) beetsExternalPlugins.check: mark as broken
- [33d7a98f](33d7a98f9a) python3Packages.APScheduler: add setuptools
- [fe18908e](fe18908ed6) traefik: 2.4.3 -> 2.4.6
- [2331c9c8](2331c9c89b) maintainers: Add ivankovnatsky
- [99aa6768](99aa676880) swaykbdd: Init at 1.0
- [512284ed](512284ed14) msitools: 0.99 -> 0.101
- [2192b2ab](2192b2abda) pythonPackages.defusedxml: execute tests
- [6feb6123](6feb61233b) linux: make sure all config options have the same value
- [39d56d98](39d56d9865) scientifica: 2.1 -> 2.2
- [1d87b01a](1d87b01a99) sieveshell: 0.6 -> 0.7
- [288f4a61](288f4a6173) dnsviz: init at 0.9.2
- [2a0d3cc9](2a0d3cc907) sccache: add sccache-dist target in build
- [155a946c](155a946c37) gitAndTools.tig: 2.5.2 -> 2.5.3
- [49777a74](49777a7430) gitea: 1.13.3 -> 1.13.4
- [a42b2ff7](a42b2ff761) python3Packages.fritzconnection: 1.4.1 -> 1.4.2
- [d2af381b](d2af381b40) firefox: build in 32-bit systems
- [0540dad5](0540dad5e1) sieveshell: switch to pytestCheckHook
- [f43497da](f43497da9d) ocamlPackages.asn1-combinators: 0.2.4 -> 0.2.5
- [d81067f3](d81067f3f3) linux: fix fallout from conflicting kernel configs
- [40974d10](40974d10de) gxkb: init at 0.9.0 ([NixOS/nixpkgs⁠#115323](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/115323))
- [bdbde521](bdbde521d7) pythonPackages: remove inherit pkg-config
- [d0bc5e0a](d0bc5e0a82) pythonPackages: format some inherits into new line
- [c34a2136](c34a2136cf) pythonPackages.dask: format
- [83f2ece6](83f2ece678) pythonPackages.dask: add optional extra "complete"
- [e769eec5](e769eec5f1) pythonPackages.datashader: format, dask with extra "complete", switch to pytestCheckHook
- [92ccd0a0](92ccd0a06a) pythonPackages.datashader: 0.11.1 -> 0.12.0
- [a2a44a90](a2a44a90de) pythonPackages.distributed: 2.30.1 -> 2021.3.0
- [61da73e4](61da73e444) theme-jade1: 1.11 -> 1.12
- [67e84244](67e8424421) prime-server: init at 0.6.7
- [5b755197](5b7551970d) maintainers: add zhaofengli
- [70fc42b4](70fc42b449) python3Packages.lima: init at 0.5
- [0da9e834](0da9e83479) python3Packages.flask-seasurf: init at 0.3.0
- [120bc675](120bc6754b) pythonPackages.flask-sslify: init at 0.1.5
- [64cfeeff](64cfeeffd0) pythonPackages.xmlsec: init at 1.3.9
- [f30662ce](f30662cec9) libosmscout: init at 2017.06.30
- [e3c1b424](e3c1b424a4) valhalla: init at 3.1.0
- [bb2ee4c3](bb2ee4c3b0) libpostal: init at 1.0.0
- [4198e629](4198e62987) osmscout-server: init at 1.17.1
- [6bc385a1](6bc385a122) python3Packages.python3-saml: init at 1.10.1
- [0aa2fcb9](0aa2fcb9ff) powerdns-admin: init at 0.2.3
- [8c339023](8c33902388) mopidy-local: 3.2.0 -> 3.2.1
- [2b4c7c6c](2b4c7c6cf3) android-udev-rules: 20201003 -> 20210302
- [128a3717](128a37174f) aws-workspaces: init at 3.1.3.925
- [e0b6268a](e0b6268a79) python3Packages.phonemizer: update patch to fix tests
- [05aff5f8](05aff5f842) biboumi: format, remove unused input
- [2d3effa0](2d3effa0d0) pythonPackages.cairosvg: 2.5.1 -> 2.5.2
- [743c6a41](743c6a4187) pythonPackages.celery: add missing requirement
- [af326076](af32607630) php-packages: cleanup
- [9718302d](9718302d11) arb: format
- [b7befb35](b7befb3522) palp: format
- [0207c32e](0207c32eff) giac: remove ? null
- [089b96e2](089b96e217) csvkit: add pythonImportCheck, mark broken
- [17badcf5](17badcf58a) pythonPackages.agate-sql: format, add pythonImportsCheck, mark broken
- [c878b141](c878b14107) zz: remove emojis from description
- [d5106e90](d5106e90da) pythonPackages.dopy: add python importsCheck
- [53883bbd](53883bbdd1) lsd: 0.19.0 -> 0.20.1, add SuperSandro2000 as maintainer
- [fb5d2e12](fb5d2e1220) libspectrum: 1.4.4 -> 1.5.0
- [efcfa964](efcfa96441) nats-streaming-server: 0.20.0 -> 0.21.0
- [8a59b4e3](8a59b4e3d4) frotz: 2.52 -> 2.53
- [04af068c](04af068cbd) _3270font: 2.2.1 -> 2.3.0
- [cd7edb91](cd7edb91fd) liquidprompt: 2.0.0 -> 2.0.2
- [df069bf8](df069bf868) calibre: 5.11.0 -> 5.12.0
- [a094d0e0](a094d0e0e4) sccache: change platforms to x86_64-linux
- [091aa7d0](091aa7d05c) klayout: 0.26.9 -> 0.26.10
- [3c24c962](3c24c96265) metasploit: 6.0.31 -> 6.0.33
- [ba8d4a5c](ba8d4a5c86) ocamlPackages.ca-certs: 0.1.3. -> 0.2.0
- [8b10d91d](8b10d91d0c) ocamlPackages.optint: use dune 2
- [2758f7bb](2758f7bb1e) python3Packages.agate-sql: 0.5.5 -> 0.5.6
- [b1d385cf](b1d385cf4b) csvkit: not broken
- [2b74b052](2b74b052c0) cvise: 2.1.0 -> 2.2.0 ([NixOS/nixpkgs⁠#115382](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/115382))
- [7c3f2c0e](7c3f2c0ed6) bindfs: enable darwin
- [ebef12e7](ebef12e779) yubikey-neo-manager: drop
- [f4b327a9](f4b327a9c2) python2nix: drop
- [11f4fa4a](11f4fa4a22) doc: mention up-to-date tools for generating Python expressions
- [00569fd3](00569fd374) gmvault: drop
- [64f91849](64f91849d4) oranchelo-icon-theme: init at 0.8.0.1
- [de75622d](de75622d5f) python3Packages.pypykatz: 0.4.2 -> 0.4.3
- [942e1a36](942e1a363f) python3Packages.pytest-cid: init at 1.1.1
- [e4774d7f](e4774d7ff3) trezord: fix build on darwin
- [edd6197a](edd6197aca) ledger-live-desktop: 2.21.3 -> 2.23.0
- [368bdd13](368bdd13f6) linux: enable RANDOM_TRUST_CPU
- [3e616e08](3e616e0874) hacpack: init at 1.36 ([NixOS/nixpkgs⁠#115357](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/115357))
- [ecce29eb](ecce29eba2) kernel: RANDOM_TRUST_CPU for >= 4.19
- [75890e7b](75890e7b35) python3Packages.botocore: 1.20.20 -> 1.20.22
- [719cc9b1](719cc9b198) python3Packages.boto3: 1.17.20 -> 1.17.22
- [85441913](8544191306) awscli: 1.19.20 -> 1.19.22
- [56964bcb](56964bcb77) python3Packages.sagemaker: 2.28.0 -> 2.29.0
- [955bcff2](955bcff28f) sbt: 1.4.7 -> 1.4.8
- [52b6f5f1](52b6f5f1d7) sbt-extras: 2021-03-03 → 2021-03-08
- [1e5eae6f](1e5eae6f4b) python3Packages.adafruit-platformdetect: 3.2.0 -> 3.3.0
- [8c36da30](8c36da303e) python39Packages.geoip2: switch to pytestCheckHook
- [4805fb4f](4805fb4f65) python3Packages.sopel: add pythonImportsCheck
- [5c2c66d2](5c2c66d218) python3Packages.pook: init at 1.0.1
- [8e25152e](8e25152e68) python3Packages.mocket: 3.9.39 -> 3.9.40
- [5c8b0255](5c8b025584) python3Packages.furl: fix build
- [71ec323d](71ec323d09) v2ray: 4.34.0 -> 4.35.1
- [c666f8df](c666f8df97) vscode-extensions.gruntfuggly.todo-tree: 0.0.198 -> 0.0.201
- [6cb28a7a](6cb28a7a47) bolt: 0.9 -> 0.9.1
- [a96be025](a96be025a1) lagrange: 1.1.4 → 1.2.2
- [22640c52](22640c527d) Update nodePackages
- [70701d0a](70701d0a68) oh-my-zsh: 2021-03-01 → 2021-03-08
- [4bd09f98](4bd09f9889) home-assistant: apply patch to fix stream component tests
- [176f44df](176f44dfe1) shfmt: 3.2.2 -> 3.2.4
- [9e76aa2c](9e76aa2cca) vimPlugins.nvim-autopairs: init at 2021-02-25 ([NixOS/nixpkgs⁠#114409](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/114409))
- [da4b6605](da4b660561) jmol: 14.31.24 -> 14.31.32
2021-03-15 09:07:03 +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%