github-actions[bot] 7162fa531b flake.lock: Updating 'nixpkgs (NixOS/nixpkgs)' - 7e9e1b63 -> 3bc8e5cd
### Changes for nixpkgs

On branch: nixpkgs-unstable
Commits: 7e9e1b6351...3bc8e5cd23

- [cd2fea35](cd2fea35ab) lazygit: 0.28.1 -> 0.28.2
- [5c14e587](5c14e587c7) emacsPackages.isearch-plus: init at 2021-01-01
- [473f1423](473f142343) emacsPackages.isearch-prop: init at 2019-05-01
- [f135fdad](f135fdad38) emacsPackages.git-undo: init at 2019-10-13
- [0d44260e](0d44260ebc) emacsPackages.youtube-dl: init at 2018-10-12
- [48b585cb](48b585cbe4) emacsPackages.evil-markdown: init at 2020-06-01
- [b736e904](b736e9048b) emacsPackages.mu4e-patch: init at 2019-05-09
- [cf88d436](cf88d436dc) emacsPackages.apheleia: init at 2021-05-23
- [4a34590e](4a34590ece) ocamlPackages.cooltt: init at unstable-2021-05-25
- [943d26cf](943d26cf3b) linuxPackages_4_4.v4l2loopback: fix build for 4.4 kernels
- [ee7ee13b](ee7ee13b27) zls: 0.1.0 -> unstable-2021-06-06
- [381dcecd](381dcecd65) gnome.eog: 40.1 -> 40.2
- [c27d583b](c27d583b42) php: Simplify generic.nix
- [78952c80](78952c80b4) silicon: 0.4.1 -> 0.4.2
- [c0d04fe5](c0d04fe53c) codeowners: add jtojnar to php
- [47371be9](47371be95b) exploitdb: 2021-06-03 -> 2021-06-05
- [e4866dca](e4866dca0a) emacsPackages.tramp: 2.4.2 -> 2.5.0
- [d1ded9d5](d1ded9d599) emacsPackages.nano-theme: init at 2021-06-05
- [6d5ddfd9](6d5ddfd909) emacsPackages.power-mode: init at 2021-06-06
- [82b0579d](82b0579de7) emacsPackages: reformat manual-packages.nix file
- [fb4023f0](fb4023f046) erlangR21: 21.3.8.23 -> 21.3.8.24
- [124b3ed7](124b3ed75a) gocryptfs: 1.8.0 -> 2.0
- [0fc1a3d0](0fc1a3d0d8) tor-browser-bundle-bin: 10.0.16 -> 10.0.17
- [92636c86](92636c86da) gnome.gnome-maps: 40.1 -> 40.2
- [4343b60f](4343b60f9c) gnome.gnome-boxes: 40.1 -> 40.2
- [64ab23e7](64ab23e7a7) gnome.gnome-software: 40.1 -> 40.2
- [b671334a](b671334a4f) gnome.gnome-calendar: 40.1 -> 40.2
- [1c8c6e2d](1c8c6e2d9a) evolution-data-server: 3.40.1 -> 3.40.2
- [d8eb97e3](d8eb97e380) epiphany: 40.1 -> 40.2
- [1b73aa2a](1b73aa2aea) tor-browser-bundle: delete unused extensions.nix
- [d1bc2928](d1bc2928bf) python3Packages.minio: 7.0.2 -> 7.0.3
- [cae74f27](cae74f27ec) python3Packages.pyialarm: 1.7 -> 1.8.1
- [642dce49](642dce498a) rlottie: 0.1 -> 0.2
- [fdca90d0](fdca90d07f) docs: acme: Fix typo
- [690496c4](690496c4e5) ocamlPackages.ppx_gen_rec: 1.1.0 -> 2.0.0
- [b24cc395](b24cc395cc) maintainers/teams: remove pacien from the matrix team
- [92f62de6](92f62de6f1) matrix-appservice-discord: increase test timeout
- [3b4cace6](3b4cace64d) vim-utils: append customRC after plug / pathogen plugins are loaded
- [bd103151](bd103151ea) haskellPackages.reactive-banana: unbreak
- [778f07ce](778f07cea8) hackage2nix: Mark failing builds broken
- [ceab4362](ceab4362b2) interception-tools: 0.2.1 -> 0.6.6
- [1fca83e1](1fca83e1b6) haskellPakcages.reactive-balsa: disable on darwin
- [05813f4b](05813f4bf4) hackage2nix: Mark failing builds broken
- [97d2cfaf](97d2cfaf81) adwaita-qt: 1.3.0 -> 1.3.1
- [bfa89fbf](bfa89fbfca) dotnetPackages.FSharpFormatting: 2.9.8 -> 11.2.0
- [30c602ac](30c602ac7a) qbittorrent: 4.3.3 -> 4.3.5
- [ad21be36](ad21be36ac) electron_13: 13.0.1 -> 13.1.0
- [711c6d57](711c6d57fb) electron_12: 12.0.9 -> 12.0.10
- [03bfa298](03bfa29891) nixos/tests/test-driver: cleanup "dead" code (USE_SERIAL)
- [ce6b1a4f](ce6b1a4f8f) doc: Document markup syntax
- [9fcd7d4e](9fcd7d4e36) ocamlPackages.fix: 20130611 -> 20201120
- [5a8372d0](5a8372d04e) lib.systems.parse.kernels: fix typo in comment
- [4d6a0bb9](4d6a0bb966) lib.systems.parsed: add "elf" for some NetBSD archs
- [f2c72bca](f2c72bca63) netbsd: disable stack protection on i686
- [39f3777e](39f3777e92) ocamlPackages.bisect_ppx: 2.5.0 -> 2.6.1
- [6d3d57a2](6d3d57a20d) ocamlPackages.ocaml-version: 3.0.0 -> 3.1.0
- [06b65034](06b6503467) python3Packages.dwdwfsapi: 1.0.3 -> 1.0.4
- [a1c5f4e2](a1c5f4e220) graphene: fix nixos test
- [d83bd16a](d83bd16a2e) prometheus-script-exporter: init at 1.2.0
- [3bcf4e31](3bcf4e31ef) nixos/prometheus: add script exporter
- [bc260c31](bc260c31f1) buildBazelPackage: don't fail if the marker file doesn't exist
- [ffb7cfcf](ffb7cfcfad) pr-tracker: 1.0.0 -> 1.1.0; adopt; add changelog
- [0998c6a7](0998c6a73e) freshfetch: init at 0.2.0
- [92c64006](92c6400651) nordic: unstable-2021-05-21 -> unstable-2021-06-04
- [e6a3c39a](e6a3c39aea) bshapr: 0.12 -> 0.13
- [56ca47ff](56ca47ff3d) python3Packages.textacy: 0.10.1 -> 0.11.0
- [5ee8800b](5ee8800be0) python3Packages.pyupgrade: 2.18.0 -> 2.19.1
- [e8a9f916](e8a9f9164c) vimPlugins: update
- [df1d134e](df1d134ee4) vimPlugins.vim-simpledb: init at 2020-10-02
- [953be75b](953be75ba2) vimPlugins.lightline-gruvbox-vim: init at 2018-03-23
- [a15bd8e0](a15bd8e006) vimPlugins.vim-clap: fix rust build
- [69c5219c](69c5219cba) python3Packages.adblock: 0.4.0 -> 0.4.4
- [02e88067](02e88067f7) python3Packages.datadog: 0.40.1 -> 0.41.0
- [b6a8f9ac](b6a8f9ac5d) python3Packages.google-api-python-client: 2.6.0 -> 2.7.0
- [7e89fb12](7e89fb12e4) ec2-amis: add release 21.05
- [0a776e10](0a776e108f) vscode-extensions.b4dm4n.vscode-nixpkgs-fmt: add nixpkgs-fmt dependency
- [5e56caf5](5e56caf52f) rebar3Relx: strip native binaries
- [3edda09e](3edda09ec8) ngrok-2: 2.3.35 -> 2.3.40 ([NixOS/nixpkgs⁠#125949](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/125949))
- [e41c7bc1](e41c7bc1f8) erlang: remove unused setup hook
- [3bc80f19](3bc80f1938) buildMix: switch buildInputs to nativeBuildInputs
- [357cc8e0](357cc8e05d) mix-release: remove rebar dep
- [8989d2ea](8989d2eae8) mix-release: remove erlang ref in erts dir
- [2a87cb7a](2a87cb7a8b) build-mix buildRebar3: strip out derivation for NIFs
- [5e9f18c5](5e9f18c572) mix-release: remove erlang ref in resulting derivation
- [e13301fd](e13301fd5c) mix-release: do not override fixup to strip binary
- [2e3e5912](2e3e591211) mix-release: add comments
- [3cbcbfc4](3cbcbfc4fc) powershell: add aarch64 support for Linux
- [7ef488f8](7ef488f819) python3Packages.pyezviz: 0.1.8.7 -> 0.1.8.9
- [cfd38a40](cfd38a4006) buildBazelPackage: set fetchConfigured default to true
- [5b30dd9b](5b30dd9b1c) gvisor: 2019-11-14 -> 20210518.0
- [d4963ae4](d4963ae435) gitui: 0.16.0 -> 0.16.1
- [91a67c5c](91a67c5c1a) gmt: 6.1.1 -> 6.2.0
- [b80814dd](b80814dd24) mix2nix: 0.1.3 -> 0.1.4
- [05e2a71c](05e2a71c8b) kubie: 0.14.1 -> 0.15.0
- [6ecc641d](6ecc641d08) doc: prepare for commonmark
- [adecb00f](adecb00f5a) doc: Build as CommonMark
- [3c78ad25](3c78ad2561) doc: Use markdown syntax for xrefs
- [91fc4866](91fc486606) python3Packages.pyhomematic: 0.1.72 -> 0.1.73
- [7d2e8e20](7d2e8e2043) bslizr: 1.2.14 -> 1.2.16
- [26c487ee](26c487ee99) nixos-rebuild: document override-input
- [489c958e](489c958e02) pythonPackages.lhapdf: init
- [60331927](60331927f0) lhapdf: build against python3 by default
- [99fcca7b](99fcca7b6b) nixos/gnome: fix option label
- [98f07d6c](98f07d6cc5) nixos/grafana: Filter out duplicate plugins
- [41387135](41387135dd) nixos/grafana: Add error handling to service script
- [efef092b](efef092ba5) firefox-bin: Avoid including both the wrapped and unwrapped version when using nix run command.
- [6b434d06](6b434d06a8) dua: 2.12.1 -> 2.12.2
- [4317137d](4317137dc8) openimagedenoise: 1.3.0 -> 1.4.0
- [04bdefc4](04bdefc4b8) stdenv/native: fix bintools import
- [8788cf16](8788cf16cd) ocamlPackages.csexp: 1.4.0 -> 1.5.1
- [1dcba177](1dcba17714) wrapBintoolsWith: fix final stage NetBSD
- [1c503878](1c50387848) ocamlPackages.repr: 0.2.1 -> 0.3.0
- [475c007d](475c007da0) nixos/libvirtd: add assertion requiring polkit to be enabled
- [7182afa8](7182afa8e4) i3-balance-workspace: 1.8.3 -> 1.8.4
- [1e1e19b6](1e1e19b6c7) cc65: fix darwin build
- [22ab1a4a](22ab1a4a00) cc65: enable parallel building
- [5e10c9cd](5e10c9cdf7) twtxt: reinit at 1.2.3
- [254a89e7](254a89e7d5) isync: 1.4.1 -> 1.4.2
- [4b4df46b](4b4df46bab) clips: 6.31 -> 6.40
- [9815f954](9815f9545e) nixos/doc: add sourcehut to release notes
- [4a2cbcfb](4a2cbcfbb4) neovim: add some tests
- [acc122f4](acc122f401) archivy: 1.1.4 -> 1.3.1
- [445e3ce0](445e3ce0e8) element: 1.7.29 -> 1.7.30
- [e3d73289](e3d7328926) pythonPackages.jupyter_core: Mark as disabled
- [70173c15](70173c1519) dino: 0.2.0 -> 0.2.1
- [47db174a](47db174a3c) nixos/self-deploy: make nixAttribute nullable ([NixOS/nixpkgs⁠#125617](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/125617))
- [dff48ad4](dff48ad4d1) leptonica: 1.80.0 -> 1.81.0
- [4d7d58e1](4d7d58e142) vscode-extensions.wix.vscode-import-cost: init at 2.15.0
- [dad1dd45](dad1dd45a8) vscode-extensions.johnpapa.vscode-peacock: init at 3.9.1
- [00e54055](00e54055e1) envoy: 1.16.2 -> 1.17.3
- [137fcc6c](137fcc6cf0) pomerium: 0.13.3 -> 0.14.4
- [f18734f8](f18734f8b8) python3Packages.tensorflow: update hashes for fetchConfigured
- [3d6fd379](3d6fd37992) bazel-watcher: update hashes for fetchConfigured
- [73d9da47](73d9da471b) ocamlPackages.octavius: 0.2.0 -> 1.2.2
- [d56b1567](d56b1567ec) nvimpager: 0.9 -> 0.10 ([NixOS/nixpkgs⁠#126027](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/126027))
- [1d1c6753](1d1c6753c6) neovim: set packpath only if there are packages
- [2c195191](2c1951914f) python3Packages.georss-qld-bushfire-alert-client: 0.4 -> 0.5
- [7f6056dd](7f6056dd78) python3Packages.aio-georss-gdacs: 0.4 -> 0.5
- [2033f37f](2033f37fb2) steamPackages.steam-runtime: 0.20210317.0 -> 0.20210527.0
- [03310df8](03310df843) nix-direnv: make flakes support optional
- [eae65a19](eae65a197d) beam/buildMix: pass on custom nativeBuildInputs
- [fbfdc8fc](fbfdc8fc0b) doc/functions/debug: convert to CommonMark
- [c682532f](c682532fce) doc/functions/prefer-remote-fetch: convert to CommonMark
- [b689cc33](b689cc33bc) gdu: 5.0.1 -> 5.1.0
- [f5c5e33c](f5c5e33cc3) org-packages 2021-06-08
- [6089d434](6089d43427) melpa-packages 2021-06-08
- [43fa9621](43fa96215e) elpa-packages 2021-06-08
- [69eec4f2](69eec4f26a) elpa-generated.nix bugfix: erase redundant, outdated shell-command-plus
- [045afcce](045afcce0f) melpa-packages: edit a comment
- [988be630](988be6309a) gobgp: 2.27.0 -> 2.28.0
- [7e6ec758](7e6ec758ab) gobgpd: 2.27.0 -> 2.28.0
- [ea8ebdb0](ea8ebdb044) ocamlPackages.cairo2: 0.6.1 -> 0.6.2
- [c5bff358](c5bff358e9) buildah: 1.21.0 -> 1.21.1
- [b30d8c49](b30d8c49e8) phpPackages.composer: 2.1.1 -> 2.1.2
- [45a26e22](45a26e22a6) libimagequant: Disable SSE on non-X86 architectures
- [094dcbe0](094dcbe0ff) 389-base: Add CVE-2021-3514
- [f46a1e35](f46a1e353a) tests.writers: give all test derivations unique names
- [3bc8e5cd](3bc8e5cd23) tests.writers: use dashes instead of underscores in drv names
2021-06-29 23:06:23 +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%