github-actions[bot] f2dd0ddf93 flake.lock: Updating 'nixpkgs (NixOS/nixpkgs)' - 7e9e1b63 -> 189a1368
### Changes for nixpkgs

On branch: nixpkgs-unstable
Commits: 7e9e1b6351...189a136887

- [c6256758](c6256758ae) home-assistant: test atag component
- [1aacbf10](1aacbf108d) vscode-extensions.coolbear.systemd-unit-file: init at 1.0.6
- [39fd960e](39fd960ee1) vscodium: 1.56.2 -> 1.57.0
- [790d2fff](790d2fffdf) pythonPackages.blurhash: init at 1.1.4
- [523638bf](523638bffc) python3Packages.mastodon-py: init at 1.5.1
- [02d1feff](02d1feffd8) home-assistant: update component-packages.nix
- [0ae4fd5b](0ae4fd5bc3) ocamlPackages.cstruct: remove at 1.9.0 for OCaml < 4.02
- [82d5971e](82d5971ee8) hunspell-dicts: add Dutch dictionary
- [0993162e](0993162efa) hunspell-dicts: change name to pname
- [052ea9df](052ea9dfc0) vscode-extensions.hashicorp.terraform: 2.12.0 -> 2.12.1
- [0874136d](0874136de6) python3Packages.androidtv: 0.0.59 -> 0.0.60
- [55b565d8](55b565d85a) vector: 0.13.1 -> 0.14.0
- [799cdbd8](799cdbd834) tailscale: add `interfaceName` option
- [d11e9b1f](d11e9b1fe5) kitty: runHook preBuild and postBuild
- [f3cd158e](f3cd158eac) kitty: 0.21.0 -> 0.21.1
- [ade0e5bd](ade0e5bd30) python3Packages.aio-geojson-client: init at 0.14
- [1d948b07](1d948b071d) python3Packages.aio-geojson-geonetnz-quakes: init at 0.12
- [41e46438](41e46438ef) python3Packages.aio-geojson-geonetnz-volcano: init at 0.5
- [0f28f4e8](0f28f4e8a0) python3Packages.aio-geojson-nsw-rfs-incidents: init at 0.3
- [ce1a051d](ce1a051d13) home-assistant: update component-packages
- [2680c5c7](2680c5c780) home-assistant: enable geo* tests
- [d97fa35f](d97fa35f94) python3Packages.aio-geojson-nsw-rfs-incidents: 0.3 -> 0.4
- [a52e3408](a52e3408fa) litecli: 1.5.0 -> 1.6.0
- [77a7b338](77a7b33804) google-fonts: unstable-2021-01-19 -> unstable-2021-06-12
- [542575ad](542575ad48) llvmPackages_git: 2021-05-17 -> 2021-06-04
- [9fb4d19c](9fb4d19c2e) Allow to extend PHP_INI_SCAN_DIR
- [8bfd7bf3](8bfd7bf370) filezilla: add wrapGAppsHook ([NixOS/nixpkgs⁠#126765](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/126765))
- [2bbf6c86](2bbf6c8687) Move CompCert into coqPackages. ([NixOS/nixpkgs⁠#126214](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/126214))
- [83bf3464](83bf34642a) llvmPackages_git: Fix the libcxx and libcxxabi builds
- [2ac508d5](2ac508d578) linux-kernel: update config for 5.13
- [6d33412d](6d33412d6d) linux-testing: 5.12-rc6 -> 5.13-rc6
- [6cbe05ab](6cbe05ab16) ricty: fix source
- [b083c7e9](b083c7e9eb) darwin.mas: Fix dontBuild
- [3209371b](3209371bbe) maintainers: add deliciouslytyped
- [4489d3e8](4489d3e844) onedrive: 2.4.11 -> 2.4.12
- [fb754bad](fb754bad11) bootiso: add missing dependencies
- [f0545ba9](f0545ba9d3) markdown-anki-decks: init at 1.0.0 ([NixOS/nixpkgs⁠#126782](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/126782))
- [5d341cda](5d341cdaed) reaper: 6.28 -> 6.29 ([NixOS/nixpkgs⁠#126838](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/126838))
- [15353873](15353873f2) sentry-cli: init at 1.66.0 ([NixOS/nixpkgs⁠#126228](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/126228))
- [502de3c3](502de3c377) openssl: fix Darwin cross infinite recursion
- [928ade7e](928ade7e79) keepassxc: 2.6.4 -> 2.6.6
- [2dfbbc02](2dfbbc0266) zig: checks are back!
- [92a5fe18](92a5fe180a) hashcat: 6.2.1 -> 6.2.2 ([NixOS/nixpkgs⁠#126820](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/126820))
- [50f15c61](50f15c610a) nixpkgs-review: 2.6.0 -> 2.6.1 ([NixOS/nixpkgs⁠#126845](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/126845))
- [059d6a7b](059d6a7bbd) zoxide: 0.7.0 -> 0.7.2
- [57388918](57388918ff) thefuck: 3.30 -> 3.31
- [cd532ef5](cd532ef505) blueberry: 1.4.2 -> 1.4.3
- [bf2a5848](bf2a58483d) retro-gtk: init at 1.0.2
- [5682da4b](5682da4b86) cinnamon.bulky: 1.1 -> 1.3
- [2d773cc4](2d773cc4e5) exploitdb: 2021-06-05 -> 2021-06-12
- [8a362be5](8a362be5fe) python3Packages.wled: 0.4.4 -> 0.5.0 ([NixOS/nixpkgs⁠#126319](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/126319))
- [60f31916](60f3191604) bpytop: 1.0.66 -> 1.0.67
- [cd68c949](cd68c94996) rpg-cli: 0.4.0 -> 0.4.1
- [90293c9b](90293c9b68) consul-template: 0.25.2 -> 0.26.0
- [8b0e2be7](8b0e2be7de) eksctl: 0.52.0 -> 0.53.0
- [28552b21](28552b21f9) python3Packages.async-lru: init at unstable-2020-10-24
- [d0e1c4fc](d0e1c4fcd8) python3Packages.tgcrypto: init at 1.2.2
- [11a53f37](11a53f3761) python3Packages.pyrogram: init at 1.2.0
- [5c04139d](5c04139da2) gitlab: 13.12.3 -> 13.12.4
- [d6e31798](d6e317980d) python3Packages.wallbox: init at 0.4.5
- [d96bb54c](d96bb54ca1) home-assistant: update component-packages.nix
- [71ae2fb1](71ae2fb1c6) python3Packages.click-threading: 0.4.4 -> 0.5.0
- [72ba8b19](72ba8b1960) vdirsyncer: 0.16.8 -> 0.18.0
- [625f2a8e](625f2a8eaa) python3Packages.ms-cv: init at 0.1.1
- [5de52802](5de528024e) python3Packages.xbox-webapi: init at 2.0.11
- [0ff4a377](0ff4a377b0) home-assistant: update component-packages.nix
- [73e98d5c](73e98d5c40) home-assistant: test xbox component
- [29f75088](29f750884d) codespell: 2.0.0 -> 2.1.0
- [50fda796](50fda7969b) alertmanager-irc-relay: 0.4.1 -> 0.4.2
- [8e596227](8e5962272b) gnome.aisleriot: 3.22.16 -> 3.22.17
- [5ba34e70](5ba34e7078) cheat: 4.2.1 -> 4.2.2
- [9492a020](9492a02002) kora-icon-theme: 1.4.2 -> 1.4.3
- [177b106e](177b106e99) libquotient: 0.6.6 -> 0.6.7
- [7ed53cf8](7ed53cf84d) flyctl: 0.0.222 -> 0.0.223
- [c7f00cd5](c7f00cd594) armadillo: 10.5.1 -> 10.5.2
- [feba2c9b](feba2c9b39) helmfile: 0.139.7 -> 0.139.8
- [d66fbb4f](d66fbb4fe1) corosync: 3.1.3 -> 3.1.4
- [b8934805](b8934805a7) dnsproxy: 0.37.5 -> 0.37.6
- [961024dd](961024ddc9) auto-cpufreq: 1.6.1 -> 1.6.4
- [358aa90e](358aa90e30) nixos/auto-cpufreq: fix service wantedBy
- [702586e0](702586e054) croc: 9.1.4 -> 9.1.5
- [549b9305](549b9305d6) subsurface: 4.9.10 -> 5.0.1
- [274ee2df](274ee2df9a) staticjinja: 1.0.1 -> 2.1.0, add version test ([NixOS/nixpkgs⁠#126690](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/126690))
- [687c03a5](687c03a5d0) whitesur-icon-theme: init at 2021-05-20 ([NixOS/nixpkgs⁠#126783](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/126783))
- [11027eba](11027eba54) subsurface: googlemaps 2018-06-02 -> 2021-03-19
- [43d18553](43d1855378) sbt: 1.5.3 -> 1.5.4
- [f49c857a](f49c857a1d) fonttosfnt: 1.2.1 -> 1.2.2
- [1ba171f9](1ba171f9d1) python3Packages.wled: 0.5.0 -> 0.6.0
- [319537cb](319537cb02) terraform: fmt
- [84a4536e](84a4536e58) nim: 1.4.6 -> 1.4.8
- [f528b1e4](f528b1e43e) sogo: 5.0.1 -> 5.1.1
- [2e10f973](2e10f973b5) sope: 5.0.1 -> 5.1.1
- [eacb00cf](eacb00cf2e) g203-led: init at 20210508-git
- [7d940ef3](7d940ef3e1) vsh: 0.11.0 -> 0.12.0
- [8540133f](8540133fb7) chromium: 91.0.4472.101 -> 91.0.4472.106
- [f33e2c5c](f33e2c5c2b) terraform_1_0_0: rename to terraform_1_0
- [355aa90c](355aa90cfc) terraform: export mkTerraform
- [01b60465](01b6046594) terraform: switch to 1.0
- [3919d730](3919d73030) terraform: drop old versions
- [01127a05](01127a0527) terraform-providers.kafka: 0.2.12 -> 0.3.3 ([NixOS/nixpkgs⁠#126880](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/126880))
- [816b68f4](816b68f489) python3Packages.pyfireservicerota: init at 0.0.40
- [7cd991ea](7cd991ea1c) home-assistant: update component-packages.nix
- [4ba8b0b9](4ba8b0b981) home-assistant: test fireservicerota component
- [59b66edb](59b66edba7) mlt: Add option to build python bindings
- [2ec8590e](2ec8590e19) mlt: Add jackrack and ladspa support
- [f2c26dd8](f2c26dd810) maintainers: add polygon
- [d6813915](d68139154c) flowblade: init at 2.8.0.3
- [671989e4](671989e41a) songrec: install /share ([NixOS/nixpkgs⁠#126891](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/126891))
- [b05b6e2a](b05b6e2a0d) python3Packages.foobot-async: init at 1.0.0
- [f7100f7c](f7100f7cea) home-assistant: update component-packages.nix
- [90e0a7b0](90e0a7b04e) home-assistant: test foobot component
- [b38adedf](b38adedf52) ocamlPackages.opam-file-format: 2.1.2 -> 2.1.3
- [9b51b479](9b51b47902) home-assistant: make parse-requirements.py not print missing dependencies
- [f83dd6ab](f83dd6ab01) python3Packages.pyflick: init at 0.0.2
- [efa23686](efa23686a0) home-assistant: update component-packages.nix
- [7127fa61](7127fa6179) home-assistant: test flick_electric component
- [b9ff2b61](b9ff2b61c1) home-assistant: test more components
- [876dde64](876dde6413) maim,slop: Remove myself as maintainer
- [42ded9d5](42ded9d56b) maintainers: remove mbakke
- [07731256](0773125628) home-assistant: make parse-requirements.py print the percentage of supported components
- [ac0e2f63](ac0e2f63d0) home-assistant: enable wallbox tests
- [14a592b5](14a592b54b) terragrunt: 0.29.9 -> 0.30.3 ([NixOS/nixpkgs⁠#126857](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/126857))
- [a3eca489](a3eca489bc) python3Packages.greeclimate: init at 0.11.8
- [f1230343](f12303432c) home-assistant: update component-packages.nix
- [bbb92f6d](bbb92f6dd9) home-assistant: test gree component
- [f09f0be1](f09f0be183) perlPackages.MojoliciousPluginWebpack: 0.14 -> 1.01
- [6deaecd1](6deaecd116) python3Packages.graphql-subscription-manager: init at 0.4.0
- [09b17967](09b17967b3) convos: 6.11 -> 6.24
- [9414a47d](9414a47d63) python3Packages.tibber: init at 0.17.1
- [8cff2217](8cff2217f8) home-assistant: update component-packages.nix
- [0f02d407](0f02d4077b) home-assistant: test tibber component
- [cca2d27d](cca2d27de2) nano: 5.7 -> 5.8
- [b3eeffe9](b3eeffe90a) micropython: fix build on aarch64-darwin and aarch64-linux
- [ff3b3e69](ff3b3e696a) nixos-rebuild: fix creating ./result symlink for flakes
2021-06-29 23:06:23 +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.4 MiB
Languages
Nix 64.3%
Emacs Lisp 35.7%