github-actions[bot] 75e42a0818 flake.lock: Updating 'nixpkgs (NixOS/nixpkgs)' - 84aa2374 -> 7e9e1b63
### Changes for nixpkgs

On branch: nixpkgs-unstable
Commits: 84aa23742f...7e9e1b6351

- [c00957f4](c00957f455) cargo-deb: 1.29.2 -> 1.30.0
- [262658cc](262658cca8) cbonsai: 1.0.4 -> 1.1.1
- [424cd7d9](424cd7d999) gnome-flashback: add option to remove gnome-panel, auto-generate wmName
- [9bc3e666](9bc3e666fa) ugrep: 3.1.7 -> 3.2.2
- [75176e35](75176e353c) feedgnuplot: fix perl shebang
- [b9bf2ab4](b9bf2ab441) feedgnuplot: 1.51 -> 1.58
- [dc3054b4](dc3054b4ae) paperwork: 2.0.2 -> 2.0.3 and compile user manual
- [ae3d04bf](ae3d04bf55) python3Packages.ttp: 0.7.0 -> 0.7.1 ([NixOS/nixpkgs⁠#124746](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/124746))
- [df7eecce](df7eecceb5) whipper: fix
- [585f63b3](585f63b364) doc/coding-conventions: Add documentation for fetchpatch optional arguments
- [6c0b85cf](6c0b85cf3a) buildPythonPackage: add support for conda
- [b2f86e66](b2f86e6662) nixos/gnome: Do not enable metacity by default
- [9e0ed182](9e0ed182aa) sdrplay: init at 3.07.1
- [81abd8d0](81abd8d0ac) mediatomb: use ffmpeg instead of ffmpeg_3 ([NixOS/nixpkgs⁠#123487](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/123487))
- [95fa2dda](95fa2dda18) backport: set correct permissions
- [9a80dbab](9a80dbab1f) backport: trigger also if label is set after the merge
- [854c4ad2](854c4ad2d9) softmaker-office: 1030 -> 1032
- [698d79fd](698d79fd76) exploitdb: 2021-05-22 -> 2021-05-26
- [ab2e8afb](ab2e8afb29) zellij: 0.12.0 -> 0.12.1
- [5cd69bbe](5cd69bbe7c) promscale: 0.3.0 -> 0.4.1
- [1e4c81cc](1e4c81cc69) gnomeExtensions.freon: 40 -> 44
- [bb4f70db](bb4f70db9b) cascadia-code: 2102.25 -> 2105.24
- [b45d3f81](b45d3f813a) cue: 0.3.2 -> 0.4.0
- [38cfb84f](38cfb84ff0) mediatomb/gerbera: Add release note information for 21.03
- [d1fe6418](d1fe6418cc) piston-cli: 1.3.0 -> 1.4.1
- [cc855b13](cc855b1331) pgsync: 0.6.6 → 0.6.7
- [39b4c8f9](39b4c8f9af) corerad: 0.3.0 -> 0.3.1
- [f830b000](f830b000fc) maintainers: add mikroskeem
- [2980b1c4](2980b1c4f4) imgcrypt: init at 1.1.1
- [24507d73](24507d7346) nq: fix tq
- [5826e902](5826e90206) dnsname-cni: init at 1.1.1
- [9868aa60](9868aa6050) docker: 20.10.2 -> 20.10.6
- [8baf7189](8baf7189b0) docker: drop unused argument, use pname instead of name
- [beab9f03](beab9f0322) docker: use commit hashes instead of tags, fix containerd sha256
- [ad256a07](ad256a077b) docker: bump runc to 1.0-rc95, fixing CVE-2021-30465
- [c79e3ded](c79e3ded4b) gmnisrv: fix security vulnerability
- [184b4530](184b453090) pythonPackages.google-api-python-client: 2.0.2 -> 2.6.0
- [4758dd48](4758dd4814) patray: Yet another tray pulseaudio frontend
- [fd2e675e](fd2e675e7c) diffoscope: 175 -> 176
- [f451461e](f451461e9d) fetchutils: remove DESTDIR, use PREFIX, change owner
- [53455882](534558827a) kops: 1.19.2 -> 1.20.1
- [07de30ff](07de30ff81) kops: keep only three latest versions
- [d6cbf3a7](d6cbf3a701) electron_13: init at 13.0.1
- [a0426609](a0426609c8) electron_12: 12.0.7 -> 12.0.9
- [505298f8](505298f812) electron_11: 11.4.6 -> 11.4.7
- [f8fbfa53](f8fbfa538b) electron_10: 10.4.5 -> 10.4.7
- [42d671a8](42d671a80d) b3sum: 0.3.7 -> 0.3.8
- [16fc720d](16fc720da3) python3Packages.pyroon: init at 0.0.37
- [0aa2c0c6](0aa2c0c6a3) home-assistant: update component-packages
- [fe9f49ec](fe9f49ec56) home-assistant: enable roon tests
- [d86a0722](d86a0722be) kind: 0.11.0 -> 0.11.1
- [d60e79d1](d60e79d113) markdownlint-cli: init at 0.27.1
- [28ab65b5](28ab65b586) tmuxinator: 2.0.2 -> 2.0.3
- [00a4be22](00a4be22f7) yabridge, yabridgectl: 3.1.0 → 3.2.0 ([NixOS/nixpkgs⁠#121715](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/121715))
- [f159db1d](f159db1d68) nushell: 0.30.0 -> 0.31.0
- [976ee287](976ee287c8) bmake: fix build on darwin
- [776f1d35](776f1d3592) ugrep: 3.2.2 -> 3.3
- [8ed2973c](8ed2973cb1) erlangR24: 24.0 -> 24.0.1
- [1f6b48be](1f6b48be74) discourse: 2.6.5 -> 2.7.0
- [2dec0de3](2dec0de3c0) nixos/discourse: Add rsync dependency
- [cb80b679](cb80b67993) nixos/discourse: Assert deployed PostgreSQL version
- [80e86f88](80e86f8871) xpra: Add NVENC support
- [d344dccf](d344dccf3d) nixos/wireguard: Remove .path systemd unit for privkey. Fixes [NixOS/nixpkgs⁠#123203](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/123203)
- [b011e1f8](b011e1f810) virt-manager: fix missing cdrtools ([NixOS/nixpkgs⁠#124408](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/124408))
- [4d3b47a6](4d3b47a614) linuxPackages_latest: update to 5.12
- [b7630d55](b7630d5591) rl-2105: mention linux_latest and potential zfs issues
- [48b6b8b8](48b6b8b8c6) cargo-raze: fix darwin ([NixOS/nixpkgs⁠#124343](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/124343))
- [e8c8b3a7](e8c8b3a760) rymcast: init at 1.0.6 ([NixOS/nixpkgs⁠#123830](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/123830))
- [25bca77c](25bca77c48) chaos: init at 0.1.9 ([NixOS/nixpkgs⁠#124306](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/124306))
- [724ed08d](724ed08df0) nixos/wordpress: regenerate secret keys if misspelled key name is found
- [d491dd73](d491dd7313) coredns: 1.8.3 -> 1.8.4
- [91b22b49](91b22b4917) fly: 7.3.0 -> 7.3.1
- [014cc9ce](014cc9ce0a) samba: 4.13.7 -> 4.14.4
- [fe8fe5ed](fe8fe5edaa) dwm: restored config patch interface
- [4d90a6bc](4d90a6bcc4) dwm: added neonfuz as maintainer
- [a821e14e](a821e14e5e) buildkite-agent: 3.29.0 -> 3.30.0 ([NixOS/nixpkgs⁠#124837](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/124837))
- [e88d1aed](e88d1aedfa) python3Packages.evohome-async: 0.3.8 -> 0.3.15
- [6933d068](6933d068c5) elixir: 1.12.0 -> 1.12.1
- [52c24e9f](52c24e9fbe) pika-backup: 0.3.1 -> 0.3.2
- [17f9a15b](17f9a15b50) eternal-terminal: 6.1.7 -> 6.1.8
- [d37dd6c3](d37dd6c301) wine{Unstable,Staging}: 6.7 -> 6.8
- [4c471a73](4c471a73a0) fend: 0.1.14 -> 0.1.16
- [f7589d53](f7589d5314) python3Packages.watchdog: 2.1.1 -> 2.1.2
- [c73371e0](c73371e04b) neovim: fix neovim.override ([NixOS/nixpkgs⁠#124785](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/124785))
- [e814269b](e814269bd2) yabridge: Fix compatibility with wine 6.8+
- [0cd06e8b](0cd06e8b09) wine{Unstable,Staging}: 6.8 -> 6.9
- [a8fb730e](a8fb730e04) stevenblack-blocklist: init at 3.7.6
- [ff58fe96](ff58fe96fd) maintainers: add rvarago
- [60f59884](60f59884e9) cargo-bitbake: init at 0.3.15
- [af44c17b](af44c17b5d) welle-io: 2.2 -> 2.3
- [08532757](0853275727) mpich: 3.4.1 -> 3.4.2
- [5a8cd34d](5a8cd34dba) gotty: 2.0.0-alpha.3 -> 1.2.0
- [966188ff](966188ff80) openvpn-auth-ldap: 2.0.3+deb6.1 -> 2.0.4
- [f35c86dc](f35c86dc1d) python3Packages.pyrituals: 0.0.2 -> 0.0.3
- [793a73a7](793a73a768) python3Packages.smhi-pkg: 1.0.14 -> 1.0.15
- [6ee94fc3](6ee94fc354) runelite: 2.0.0 -> 2.1.5
- [99c80ee7](99c80ee729) python3Packages.flametree: enable tests
- [9d75ca70](9d75ca7054) python3Packages.pyialarm: 1.5 -> 1.7
- [b0b823be](b0b823be50) newsflash: fix build
- [645446af](645446afa5) catgirl: 1.7 -> 1.8
- [364ae134](364ae13471) esbuild: 0.12.0 -> 0.12.1
- [166e67b4](166e67b4de) twine: add top-level entry
- [6ab535aa](6ab535aade) dua: 2.11.3 -> 2.12.0
- [e1d59ae8](e1d59ae8d4) Revert "podman: add systemd to LD_LIBRARY_PATH for journald log driver"
- [ada45ac3](ada45ac3ae) podman: add systemd to rpath
- [17887e49](17887e4967) getdata: add security patch from Debian ([NixOS/nixpkgs⁠#124713](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/124713))
- [e00e031c](e00e031ce1) gitRepo: 2.14.5 -> 2.15.3 ([NixOS/nixpkgs⁠#124904](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/124904))
- [8a8500c2](8a8500c2ad) godot: 3.2.2 -> 3.3.2 ([NixOS/nixpkgs⁠#123126](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/123126))
- [33a488c9](33a488c9af) babashka: 0.4.1 -> 0.4.3 ([NixOS/nixpkgs⁠#124325](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/124325))
- [91788472](917884725d) zfsUnstable: 2.1.0-rc5 -> 2.1.0-rc6
- [df0f92da](df0f92daee) s3rs: init at 0.4.8
- [c2ac1112](c2ac1112e5) heisenbridge: unstable-2021-05-23 -> unstable-2021-05-29
- [5619c4f6](5619c4f674) proton-caller: fix version
- [a8daff8b](a8daff8b1a) gitui: 0.15.0 -> 0.16.0
- [fe9b5b6b](fe9b5b6b4a) vieb: use electron_13
- [fb8b0a38](fb8b0a3843) nixos/podman: Change podman socket to new podman group
- [ff4d83a6](ff4d83a667) nixos/podman: Add dockerSocket.enable
- [52844efc](52844efcd6) nixos/podman: Add generic networkSocket interface
- [b6570e72](b6570e7238) nixos/podman-network-socket-ghostunnel: init
- [db31d835](db31d8354d) podman: Add iproute2, fixing docker network rm
- [2eeecef3](2eeecef3fc) nixos/libvirtd: Take ethertypes from iptables-nftables-compat
- [a7cd70f3](a7cd70f367) vimPlugins.gruvbox-flat-nvim: init at 2021-05-28
- [3f3f5a0d](3f3f5a0d5d) scons: Remove myself as maintainer
- [964fc7cf](964fc7cfef) Update nixos/modules/virtualisation/libvirtd.nix
- [544db849](544db849a1) ocamlPackages.uri: 4.0.0 → 4.2.0
- [41634080](416340800d) python3Packages.pygtfs: init at 0.1.6
- [a759f21d](a759f21d37) home-assistant: update component-packages
- [83c102f6](83c102f66c) ocamlPackages.tyxml: 4.4.0 → 4.5.0
- [d07f52bf](d07f52bf81) nixos/test-driver: mention the elapsed time when it times out
- [878103ce](878103ce55) nixos/trilium: use boolToString for noBackup
2021-06-10 20:27:15 +02:00
2021-01-23 17:15:48 +01:00
2021-05-21 00:15:09 +02: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%