github-actions[bot] 8c665eee58 flake.lock: Updating 'nixpkgs (NixOS/nixpkgs)' - 21de2b97 -> 8ba12042
### Changes for nixpkgs

On branch: nixpkgs-unstable
Commits: 21de2b973f...8ba120420f

- [0cef916f](0cef916f2c) python310Packages.archinfo: 9.2.19 -> 9.2.20
- [5d4a3298](5d4a329889) python310Packages.ailment: 9.2.19 -> 9.2.20
- [873b1e97](873b1e97a8) python310Packages.pyvex: 9.2.19 -> 9.2.20
- [4404c287](4404c28730) python310Packages.claripy: 9.2.19 -> 9.2.20
- [4a3f6232](4a3f62329e) python310Packages.cle: 9.2.19 -> 9.2.20
- [fcd37ca7](fcd37ca748) python310Packages.angr: 9.2.19 -> 9.2.20
- [d050bc18](d050bc1873) python310Packages.dnslib: 0.9.21 -> 0.9.22
- [b43a371f](b43a371f2a) python310Packages.dnslib: add pythonImportsCheck
- [3905b8f8](3905b8f8e1) python310Packages.jupyter_server: 1.18.1 -> 1.19.1
- [7d226b5d](7d226b5d12) python310Packages.skein: 0.8.1 -> 0.8.2
- [87ea5229](87ea5229dc) python310Packages.dbus-fast: 1.15.1 -> 1.17.0
- [be9579d6](be9579d683) python310Packages.aiopyarr: 22.7.0 -> 22.9.0
- [7ebc5c2d](7ebc5c2ddf) python310Packages.yalexs: 1.2.1 -> 1.2.3
- [664cfba1](664cfba168) dufs: init at 0.30.0
- [9ef2357f](9ef2357f77) python310Packages.scrapy: 2.6.2 -> 2.6.3
- [2ca14501](2ca14501bd) cargo-make: 0.36.0 -> 0.36.1
- [f40a2a70](f40a2a70cd) checkSSLCert: 2.48.0 -> 2.49.0
- [6bb249e6](6bb249e65a) python310Packages.hmmlearn: disable on older Python releases
- [4ddfe724](4ddfe72487) cloud-nuke: 0.19.0 -> 0.19.1
- [d2356bf4](d2356bf415) onnxruntime: add Python support
- [18f7d4c9](18f7d4c992) python3Packages.onnxconverter-common: init at 1.12.2
- [d5f27c97](d5f27c97b8) python3Packages.skl2onnx: init at 1.13
- [ddc31224](ddc312247b) vscode-extensions.foxundermoon.shell-format: add missing dependency
- [4f968607](4f968607f9) varnish: add passthru.tests
- [40f9a7c7](40f9a7c719) docker-compose: 2.11.1 -> 2.11.2
- [46e83984](46e8398474) python310Packages.google-cloud-spanner: 3.21.0 -> 3.22.0 ([NixOS/nixpkgs⁠#193252](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/193252))
- [5dd4efaf](5dd4efaf95) makefile2graph: unstable-2018-01-03 -> 2021.11.06
- [c94e8a2e](c94e8a2ee3) gopass: 1.14.7 -> 1.14.8
- [59379062](5937906259) python310Packages.sphinxcontrib-autoapi: 1.9.0 -> 2.0.0
- [9df724a7](9df724a7a8) kopia: 0.11.3 -> 0.12.0
- [dec0fefd](dec0fefd52) haskellPackages.disco: run offline tests only
- [12c22bab](12c22babec) haskellPackages.servant-polysemy: mark as broken
- [9480b59b](9480b59b45) nixosTests.rabbitmq: Test config decryption (fails)
- [6200d85e](6200d85eb4) rabbitmq-server: Use openssl_1_1 to fix config decryption
- [b6fe86fd](b6fe86fd45) rabbitmq-server: Remove unused builder variable
- [8f98a6d3](8f98a6d39b) check-meta: Add isHydraChannel
- [a89b2794](a89b27942c) electrum: 4.3.1 -> 4.3.2
- [c02b8715](c02b8715ba) python310Packages.types-pyyaml: 6.0.11 -> 6.0.12
- [7451cc52](7451cc5261) python310Packages.types-redis: 4.3.20 -> 4.3.21
- [10508415](10508415fc) python310Packages.types-urllib3: 1.26.24 -> 1.26.25
- [e2cc8bdf](e2cc8bdf30) ipfs-cluster: 1.0.2 -> 1.0.4 ([NixOS/nixpkgs⁠#191671](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/191671))
- [d1d36441](d1d3644194) bartib: init at 1.0.1
- [b89b4f83](b89b4f8354) licenses: add BOLA license
- [19b2faff](19b2fafffe) python3Packages.sphinxcontrib-mscgen: init at 0.6
- [6f50d503](6f50d50325) rsass: init at 0.26.0
- [d1f0a6d9](d1f0a6d972) nixos/systemd/oomd: mdDoc fix
- [57008351](5700835116) siril: 1.0.3 -> 1.0.5
- [11ec6f92](11ec6f92e7) element-{web,desktop}: 1.11.5 -> 1.11.7
- [166962b7](166962b72e) mimir: 2.3.0 -> 2.3.1
- [0d5a365f](0d5a365f61) caddy: Omit `--adapter` from invocations if empty string supplied
- [c3e75d49](c3e75d4931) Use `null` instead of empty string.
- [a81954b8](a81954b818) Fix docs.
- [7ddee326](7ddee326c2) gromacs*: fixup paths in .pc files
- [12d03eff](12d03efffd) nheko: 0.10.1-1 -> 0.10.2
- [5d7d4a2d](5d7d4a2d0a) pithos: 1.5.1 -> 1.6.0
- [084509af](084509af8b) nixos/wireguard: add option to set firewall mark
- [eb49174f](eb49174f7b) nixos/wireguard: add option to set mtu
- [0c704db6](0c704db698) nixos/docs: update changelog
- [d713eced](d713eced06) rocksdb: fix .pc handling in all three versions
- [c644ed71](c644ed7108) cg3: fixup paths in .pc file
- [64c44b37](64c44b3798) codecserver: fixup paths in .pc file
- [5179c42f](5179c42f14) csdr: fixup paths in .pc file
- [ec88cd98](ec88cd98c4) terraform: 1.3.0 -> 1.3.1
- [a2a2ffbd](a2a2ffbd50) dsdcc: fixup paths in .pc file
- [23b3d4fb](23b3d4fb8e) folly: fix paths in .pc file
- [9e8bf24e](9e8bf24e48) rtrlib: fix paths in .pc file
- [c7c8cfba](c7c8cfba6a) cinny: 2.2.0 -> 2.2.2
- [ad0a72fe](ad0a72fe94) the-foundation: fixup paths in .pc file
- [57f602a9](57f602a997) nixpacks: 0.7.1 -> 0.7.2
- [9db13aa2](9db13aa27d) libsurvive: fixup paths in more .pc files
- [3ff9c279](3ff9c27947) octoprint: 1.8.3 -> 1.8.4
- [7e40546e](7e40546eb6) miniz: fixup paths in .pc file
- [ccce3fcb](ccce3fcb58) python3Packages.grpcio-tools: relax protobuf constraint
- [053f8a2d](053f8a2d45) scala-cli: 0.1.14 -> 0.1.15, add aarch64-darwin build ([NixOS/nixpkgs⁠#193354](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/193354))
- [07de498c](07de498c77) Revert "rnp: fix path in pkg-config file"
- [c45e994e](c45e994e4a) osl: fixup paths in .pc files
- [12b3066a](12b3066aae) lib.nixos.runTest: Return the test itself
- [dbe80452](dbe80452b1) python3Packages.qscintilla: add setuptools
- [ff964e2d](ff964e2de0) element-{desktop,web}: 1.11.7 -> 1.11.8
- [78c16ea2](78c16ea2ae) vimPlugins.markdown-preview-nvim: 0.0.1 -> 0.0.10
- [cc857c8e](cc857c8e22) ldgallery: 2.0 -> 2.1
- [e51b3137](e51b313775) epgstation: fix for node2nix npmv7 update
- [e70290e5](e70290e57d) deltachat-desktop: use postRebuild to build4production before install
- [1f067ee3](1f067ee3fb) mx-puppet-discord: update to 0.1.1 and fix for node2nix npmv7 update
- [1bf7e01e](1bf7e01e54) nodePackages.fauna-shell: disable github release notes fetcher
- [557b843b](557b843b62) nodePackages.ijavascript: fix external libzmq env var
- [13050043](13050043aa) nodePackages.keyoxide: add missing build inputs for canvas module
- [59911b63](59911b6316) nodePackages.mdctl-cli: mark as broken to node.js 16+
- [7030b3d1](7030b3d11c) nodePackages.tedicross: add missing native build deps
- [07b207c5](07b207c5e9) nodePackages: patch node2nix for npm v7+ and switch to building package set with current nodejs
- [26c8c98d](26c8c98d9d) plantuml: 1.2022.8 -> 1.2022.10
- [5b8ead57](5b8ead57a3) valhalla: fixup paths in .pc file
- [69e19835](69e1983512) pods: init at 1.0.0-beta.4
- [c9b98fe8](c9b98fe8b1) protobuf3_19: 3.19.4 -> 3.19.5
- [b399ddea](b399ddeab5) protobuf3_20: 3.20.1 -> 3.20.2
- [f0de0cf8](f0de0cf811) enyo-launcher: 2.0.2 -> 2.0.5, renamed from enyo-doom
- [d9550c16](d9550c1681) protobuf3_21: 3.21.2 -> 3.21.6
- [9b5f227a](9b5f227a93) protobuf3_11: remove
- [8a85537b](8a85537bed) python3Packages.hatch-nodejs-version: remove duplicate dependencies
- [ea8d6748](ea8d67487c) python3Packages.hatch-nodejs-version: remove full stop from description
- [4b19b959](4b19b95908) gnome-decoder: init at 0.3.1
- [b98b7173](b98b717380) topicctl: 1.5.0 -> 1.6.1
- [dd486461](dd48646181) gh-dash: 3.3.0 -> 3.4.0
- [d6f34bd7](d6f34bd71e) orchis-theme: 2022-07-20 -> 2022-09-28 ([NixOS/nixpkgs⁠#193319](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/193319))
- [428cdfb6](428cdfb609) pagsuite: init at 1.80
- [091016de](091016de0b) curlie: fix build on darwin
- [3e9c56ef](3e9c56ef7e) insomnia: 2022.5.1 -> 2022.6.0
- [ca603472](ca6034728b) unzip: fix 404'd patch url
- [4f6387bb](4f6387bb9e) ghostwriter: 2.1.5 -> 2.2.0 ([NixOS/nixpkgs⁠#191168](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/191168))
- [5b3a9647](5b3a96474c) signal-desktop: 5.60.0 -> 5.61.0
- [8be09c80](8be09c8012) sbt-extras: 2022-07-12 -> 2022-09-23 ([NixOS/nixpkgs⁠#193344](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/193344))
- [d92b7367](d92b736769) ircdHybrid: 8.2.42 -> 8.2.43
- [cce4fdbc](cce4fdbcfd) vector: update platforms list to include aarch64-darwin
- [851375d6](851375d6e9) ungoogled-chromium: 105.0.5195.127 -> 106.0.5249.62
- [f1545365](f154536514) fzf: 0.33.0 -> 0.34.0
- [0b204f0c](0b204f0c28) freshrss: init at 1.20.0, tests and module
- [80eaa7f2](80eaa7f2a3) ktlint: add gnused to the script's path
- [7b62aa0a](7b62aa0aa4) python310Packages.sphinxcontrib-autoapi: update disabled
- [a35baec2](a35baec2ca) python310Packages.scrapy: update disabled
- [4aaa0a81](4aaa0a81f6) 1password-gui: fix crash opening file selector
- [3d570ff4](3d570ff4fe) python310Packages.pybravia: 0.2.2 -> 0.2.3
- [cffae5bc](cffae5bce0) python310Packages.pyquil: 3.3.0 -> 3.3.1
- [e95f0dee](e95f0deeb0) python310Packages.skodaconnect: 1.1.25 -> 1.1.26
- [28e90d37](28e90d3709) nixos/virtualisation/linode-image: init ([NixOS/nixpkgs⁠#155426](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/155426))
- [02a71345](02a713457b) python310Packages.pyintesishome: 1.8.3 -> 1.8.4
- [f0cab946](f0cab94618) python310Packages.pontos: 22.9.3 -> 22.9.6
- [5e23d521](5e23d52163) p4c: use dynamic linkage for Protobuf
- [9c76afbb](9c76afbbb4) python310Packages.gvm-tools: 22.6.1 -> 22.9.0
- [1c4aee4a](1c4aee4a7c) python310Packages.meshtastic: 1.2.95 -> 1.3.36
- [7a52f079](7a52f07936) python310Packages.asyauth: 0.0.3 -> 0.0.4
- [56e626be](56e626be76) ncdc: 1.23 -> 1.23.1
- [ca084dd1](ca084dd16e) python310Packages.aioesphomeapi: 10.13.0 -> 10.14.0
- [270fe9eb](270fe9eb7f) python310Packages.cronsim: 2.2 -> 2.3
- [64b6dd12](64b6dd1215) schildichat-{desktop,web}: 1.11.4-sc.1 -> 1.11.8-sc.1
- [f241fa90](f241fa904b) python310Packages.django-formtools: 2.3 -> 2.4
- [072ddf62](072ddf6281) python310Packages.easydict: 1.9 -> 1.10
- [7ccc6ab2](7ccc6ab217) Revert "gnome.gnome-boxes: add qemu to path"
- [9e4c57c0](9e4c57c089) sublime4-dev: 4136 → 4137
- [dbed7c27](dbed7c274f) pythonPackages.nbxmpp: 3.2.1 → 3.2.2
- [5a18fc74](5a18fc74cf) Revert "python3Packages.billiard: 4.0.0 -> 4.0.2"
2022-09-30 02:32:04 +00:00
2022-07-10 19:48:51 +01:00
2022-09-03 21:45:31 +01:00

nix-doom-emacs

Status
Build on master Build Status on master
Dependency updater Dependency Updater Status
Matrix Chat Matrix Chat

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/nix-community/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 ];
}

./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:nix-community/home-manager";
    nix-doom-emacs.url = "github:nix-community/nix-doom-emacs";
  };

  outputs = {
    self,
    nixpkgs,
    lib,
    home-manager,
    nix-doom-emacs,
    ...
  }: {
    nixosConfigurations.exampleHost = lib.nixosSystem {
      system = "x86_64-linux";
      modules = [
        home-manager.nixosModules.home-manager
        ({
          home-manager.users.exampleUser = lib.mkMerge [
            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; # Not needed if you're using the Home-Manager module instead
  };
}

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%