github-actions[bot] 31545e84fb flake.lock: Updating 'nixpkgs (NixOS/nixpkgs)' - 77fda7f6 -> 46821ea0
### Changes for nixpkgs

On branch: nixpkgs-unstable
Commits: 77fda7f672...46821ea01c

- [3fcdc513](3fcdc51354) python3Packages.types-setuptools: 57.4.6 -> 57.4.7
- [a1e73582](a1e735824e) python38Packages.nbsphinx: 0.8.7 -> 0.8.8
- [c5070b61](c5070b61b2) java-service-wrapper: 3.5.46 -> 3.5.48
- [6c284f51](6c284f5178) html-xml-utils: 8.0 -> 8.1
- [36ba8c55](36ba8c55f4) moonlight-embedded: 2.5.1 -> 2.5.2
- [7166f36c](7166f36cb2) mark: 6.5.1 -> 6.7
- [f7fa10ff](f7fa10ff43) python310Packages.rpyc: disable failing test
- [ae9cb351](ae9cb35195) driftctl: 0.17 -> 0.18.3
- [298f2b76](298f2b76e5) jackett: 0.20.184 -> 0.20.285
- [c2068461](c20684619d) python3Packages.pylaunches: 1.2.0 -> 1.2.1
- [9292a52c](9292a52ce0) mill: 0.9.11 -> 0.9.12
- [ed89030b](ed89030b17) python310Packages.sybil: disable failing tests
- [0c72fb35](0c72fb355c) discordchatexporter-cli: 2.30.1 -> 2.31.1
- [20d9f5d9](20d9f5d9f3) jenkins-job-builder: fix build, relax pyyaml version constraint
- [d1556aac](d1556aac13) pinsel: init at unstable-2021-09-13
- [6bc0a044](6bc0a0443a) discord-canary: 0.0.131 -> 0.0.132
- [a9977abe](a9977abefe) flashfocus: unpin pyyaml
- [d276350e](d276350eb5) libxslt: Use python as function argument instead of python3
- [128359ae](128359aeca) chart-testing: install shell completion
- [88382b95](88382b95bf) maintainers: add portothree
- [bc151db9](bc151db96f) llama: init at 1.0.1
- [12920518](12920518e6) althttpd: unstable-2021-06-09 -> unstable-2022-01-10
- [d28799ab](d28799abfa) yubikey-manager: replace myself as maintainer with other known users
- [cd2f11b1](cd2f11b1d9) Apply suggestions from code review
- [159739fa](159739faaf) conmon: 2.0.31 -> 2.0.32
- [1e6acdc3](1e6acdc3be) kup: init at 0.9.1
- [1d820c22](1d820c2224) poetry2nix: 1.24.1 -> 1.25.0
- [502f780d](502f780d2f) python3Packages.hahomematic: 0.18.0 -> 0.19.0
- [10afefe5](10afefe564) vscode-extensions.mechatroner.rainbow-csv: 1.7.1 → 2.0.0
- [ac938d63](ac938d63c6) vscode-extensions.serayuzgur.crates: 0.5.9 → 0.5.10
- [cc7336ed](cc7336ed18) vscode-extensions.usernamehw.errorlens: 3.4.0 → 3.4.1
- [b8116767](b81167678d) vscode-extensions.tuttieee.emacs-mcx: init at 0.37.1
- [bd8adc08](bd8adc086a) vscode-extensions.cweijan.vscode-database-client2: init at 4.3.3
- [5c8072c3](5c8072c376) nixops: Re-package environment using poetry2nix
- [c2413627](c24136277b) python310Packages.APScheduler: disable failing tests
- [ac7b13ff](ac7b13ff2f) python310Packages.quandl: adjust inputs
- [90060e51](90060e51d3) python3Packages.adb-shell: disable failing tests
- [715563e5](715563e5eb) headscale: 0.11.0 -> 0.12.2
- [202e6860](202e686089) terraform-ls: 0.25.0 -> 0.25.2
- [1e4b8ffb](1e4b8ffb11) pleroma: add kloenk as maintainer
- [1c6c231f](1c6c231fe2) python3Packages.python-http-client: disable failing test
- [e11c5181](e11c51818a) appgate-sdp: 5.5.1 -> 5.5.2
- [c8ef5732](c8ef573239) python310Packages.aiorun: 2021.8.1 -> 2021.10.1
- [734af732](734af73298) bpftrace: 0.14.0 -> 0.14.1
- [20df3f66](20df3f6612) pleroma: 2.4.1 -> 2.4.2 ([NixOS/nixpkgs⁠#154729](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/154729))
- [c5fbaf61](c5fbaf6131) nixops: Remove unused expressions in subdirectories
- [54d4b707](54d4b7079b) quicklisp-to-nix: document --cacheFaslDir option in help screen
- [9f25f013](9f25f01353) python310Packages.json-schema-for-humans: relax pyyaml constraint
- [df58e804](df58e804e3) python3Packages.emv: relax terminaltables constraint
- [4f15ea2f](4f15ea2f31) quicklisp-to-nix: fix trailing whitespace
- [075ca59a](075ca59a72) trilium: 0.48.8 -> 0.49.4
- [ea9647d2](ea9647d202) linuxPackages.tuxedo-keyboard: 3.0.8 -> 3.0.9
- [7a73bd3d](7a73bd3d08) linuxPackages.tuxedo-keyboard: update description to point to module
- [b815b221](b815b22147) Update pkgs/tools/misc/yubikey-manager/default.nix
- [861f4e4c](861f4e4c01) lispPackages.cl-mustache: init at 20200325-git
- [2fca4556](2fca45565d) gcc9: Add no-sys-dir patch for RISC-V ([NixOS/nixpkgs⁠#154230](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/154230))
- [7b68f646](7b68f646ea) signal-cli: 0.9.2 -> 0.10.0
- [7148ebef](7148ebef25) docbookrx: drop
- [e0a15f26](e0a15f263d) cvs2svn: switch to pypy2
- [78e1aa4c](78e1aa4c96) tailor: switch to pypy2
- [ef0de7cc](ef0de7ccb5) nixos/wordpress: Ensure no passwordFile if local db deployment ([NixOS/nixpkgs⁠#148613](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/148613))
- [ad234430](ad234430b7) python3Packages.types-requests: 2.27.5 -> 2.27.6
- [32ac4568](32ac456825) wiki-tui: 0.4.3 -> 0.4.4
- [1fd0f9aa](1fd0f9aa6f) python3Packages.semver: exclude documentation from tests
- [5d5d787f](5d5d787fb6) higan: mark as broken on Darwin
- [b7c632d7](b7c632d7fd) python3Packages.opt-einsum: switch to pytestCheckHook
- [5c8ddfd0](5c8ddfd0b5) nixos/stage-1: update udev.log_level name in docs
- [54f8775d](54f8775d64) mpvScripts.sponsorblock: fix blatant ignorance of CONTRIBUTING.md
- [e8c09c51](e8c09c51f8) python310Packages.flask_login: adjust inputs
- [d12672ec](d12672ecaa) python310Packages.python-daemon: add patches and switch to pytestCheckHook
- [9cf36f12](9cf36f1225) gnome.gnome-boxes: 41.2 -> 41.3
- [7548f438](7548f4380e) python3Packages.apache-airflow: adjust inputs and substituteInPlace
- [84e626c6](84e626c60c) gnome.gnome-autoar: 0.4.1 -> 0.4.2
- [25e1800f](25e1800f2d) gnome.rygel: 0.40.2 -> 0.40.3
- [cfa23c7b](cfa23c7bbb) reorder all-packages.nix
- [3f1ef8fe](3f1ef8fe14) nixos/starship: init
- [f366ae64](f366ae6429) nixos/starship: add a test
- [f4cab67d](f4cab67db4) python3Packages.pykeyatome: fix meta.homepage
- [e352f62f](e352f62f80) python3Packages.pyspnego: fix meta.homepage
- [1b8861e0](1b8861e0d4) tor-browser-bundle-bin: 11.0.3 -> 11.0.4
- [bc99971c](bc99971c84) notmuch: 0.34.2 -> 0.34.3
- [1a549598](1a549598b4) cwltool: 3.1.20211104071347 -> 3.1.20211107152837
- [be5fbe4c](be5fbe4c1b) hugo: 0.91.2 -> 0.92.0
- [b44d1e37](b44d1e37c1) md-tangle: init at 1.3.1
- [33d34165](33d341655e) python3Packages.pynetdicom: disable failing test
- [7bb06e1a](7bb06e1a15) python3.pkgs.jedi-language-server: 0.34.12 -> 0.35.1
- [25294359](252943597e) python310Packages.case: adjust inputs
- [d4e16ab3](d4e16ab3e3) python310Packages.billiard: add pythonImportsCheck
- [6f3b6981](6f3b698103) python310Packages.pecan: 1.4.0 -> 1.4.1
- [9120e419](9120e419f4) libsForQt5.kbreakout: fix meta.homepage
- [af6c20ea](af6c20ea05) bitlbee: python2 -> python3
- [f5d5398b](f5d5398b0e) python310Packages.deprecations: fix tests
- [2cd29223](2cd29223ca) cvs2svn: use more universal reference to interpreter
- [6ba5d82e](6ba5d82e36) python3Packages.pyrogram: 1.3.0 -> 1.3.1
- [82727b33](82727b33e6) calibre-web: relax lxml constraint
- [4b46a593](4b46a593ef) mani: 0.10.0 -> 0.11.1
- [4466e249](4466e2496d) python3Packages.pytest-order: 1.0.0 -> 1.0.1
- [5a8040b9](5a8040b964) python310Packages.pysma: 0.6.9 -> 0.6.10
- [4d0c0f64](4d0c0f64b1) vimPlugins.mini-nvim: init at 2022-01-06
- [cdb4d0a3](cdb4d0a390) sile: 0.12.0 → 0.12.1
- [bad08fbe](bad08fbef1) gphoto2: 2.5.27 -> 2.5.28
- [dd5d6b87](dd5d6b87bb) gitty: 0.5.0 -> 0.6.0
- [5321a6b8](5321a6b82a) tree-sitter updater: use GITHUB_TOKEN if present
- [8b8328c5](8b8328c5d7) python310Packages.Pyro4: 4.81 -> 4.82
- [cf340a9d](cf340a9dae) finalfusion-utils: 0.13.2 -> 0.14.1
- [64fa8e6b](64fa8e6b5b) featherpad: 1.1.0 -> 1.1.1
- [f0a1e6e9](f0a1e6e9e9) steampipe: 0.11.0 -> 0.11.2
- [002ab67a](002ab67a21) ratmen: refactor
- [ebbbd421](ebbbd42140) qpdfview: refactor
- [be4504dd](be4504dd16) pdfstudio: 2021.1.1 -> 2021.1.2
- [0e5389c1](0e5389c1f8) hydrus: 467 -> 468
- [7738de90](7738de9075) hydrus: 468 -> 469
- [5c61c3ce](5c61c3ce36) python310Packages.python-http-client: 3.3.4 -> 3.3.5
- [e8f170c4](e8f170c469) mpvScripts.sponsorblock: add update script
- [7b5db5f5](7b5db5f50b) mpvScripts.sponsorblock: unstable-2020-07-05 -> unstable-2021-12-23
- [102c6a93](102c6a9379) python310Packages.pontos: 22.1.0 -> 22.1.1
- [0c3ae89f](0c3ae89fe6) python3Packages.flux-led: 0.28.0 -> 0.28.1
- [5f250ebd](5f250ebdb9) erlang-ls: 0.20.0 -> 0.21.2 ([NixOS/nixpkgs⁠#148837](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/148837))
- [8af07258](8af072583d) wprecon: mark broken
- [cee6ccfc](cee6ccfc75) ncdns: pin to go 1.16
- [88b29b7f](88b29b7fc8) ipfs-cluster: pin to go 1.16
- [64dd661b](64dd661bf7) telepresence2: pin to go 1.16
- [cea5f29a](cea5f29a52) tendermint: pin to go 1.16
- [5d07e1cc](5d07e1cc64) mtr: 0.94 -> 0.95
- [400be991](400be99192) avro-cpp: use the default boost version ([NixOS/nixpkgs⁠#154784](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/154784))
- [4d1de6bd](4d1de6bdac) pwsafe: substitute paths in .desktop file
- [e6ea8407](e6ea8407a3) tig: 2.5.4 -> 2.5.5
- [7dc24c09](7dc24c0923) nixos/starship: use expect for testing
- [770e32fa](770e32fa89) Update pkgs/tools/misc/yubikey-manager/default.nix
- [847a715c](847a715cfa) electricsheep.src: fix sha
2022-01-14 01:07:40 +00:00
2022-01-01 04:48:36 +02: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/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:rycee/home-manager";
    nix-doom-emacs.url = "github:nix-community/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%