github-actions[bot] 3adabe34c1 flake.lock: Updating 'nixpkgs (NixOS/nixpkgs)' - 123db833 -> 3eac120c
### Changes for nixpkgs

On branch: nixpkgs-unstable
Commits: 123db83348...3eac120c3d

- [2a95fe1a](2a95fe1aea) gap: 4.11.0 -> 4.11.1
- [391028eb](391028eb3a) pynac: add more patches, link to sage trac
- [f206ba8a](f206ba8ab9) singular: replace local patches by upstream ones
- [b413d357](b413d3570a) sage: 9.3.rc4 -> 9.3
- [538c6143](538c614396) gnomecast: switch from ffmpeg_3 to ffmpeg
- [ddfb6c37](ddfb6c3760) python3Packages.connexion: 2.4.0 -> 2.7.0
- [a7833724](a7833724fd) webkitgtk: 2.32.0 -> 2.32.1
- [a3c9fd29](a3c9fd29fe) tailscale: 1.8.0 -> 1.8.3
- [1d863bf4](1d863bf416) poedit: 2.4.2 -> 2.4.3
- [c7b3d952](c7b3d9522b) vips: fix darwin
- [5a48b5ec](5a48b5ec83) wireguard-tools: 1.0.20210315 -> 1.0.20210424
- [b5c423be](b5c423bedd) linuxPackages.wireguard: 1.0.20210219 -> 1.0.20210424
- [d8094789](d8094789f3) atuin: fix darwin build
- [ac667f26](ac667f26c1) hackage2nix: Mark failing builds broken
- [4c8edd64](4c8edd64e8) terraform-providers: set keycloak provider source address
- [273ab793](273ab793b6) octant: 0.19.0 -> 0.20.0
- [ed012af8](ed012af8f8) octant-desktop: 0.19.0 -> 0.20.0
- [93e1147d](93e1147d19) grafana-image-renderer: 2.0.1 -> 2.1.0
- [be038cf4](be038cf4f9) megacmd: 1.2.0 -> 1.4.0 ([NixOS/nixpkgs⁠#122405](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/122405))
- [ee727dfd](ee727dfdb7) chromiumDev: 92.0.4496.0 -> 92.0.4503.0
- [0432a816](0432a81670) hedgedoc: 1.8.0 -> 1.8.2
- [62b12d74](62b12d749b) hylafaxplus: fix build
- [85aa041a](85aa041a06) croc: 9.1.2 -> 9.1.3
- [ee6e39fd](ee6e39fdb8) maintainers: add mdsp
- [e5d8c19f](e5d8c19f70) maintainers: add bmwalters
- [ffaa5312](ffaa531239) minipro: init at 0.5
- [2ca5a4e2](2ca5a4e2b6) vscode: 1.56.0 -> 1.56.1
- [360f4327](360f43277f) _1password: Fix Darwin Builds
- [e1ce6868](e1ce68683f) freeorion: 0.4.9 -> 0.4.10.1
- [e956f890](e956f890f2) popeye: 0.9.0 -> 0.9.2
- [8f02e3bb](8f02e3bb29) bottom: add missing dependencies when on darwin
- [4ff5a02f](4ff5a02f4b) bottom: 0.6.0 -> 0.6.1
- [67a2f545](67a2f545ca) eterm: 0.9.6 -> 0.9.6-unstable=2020-03-03
- [5d8c8c6c](5d8c8c6c90) icewm: 2.2.0 -> 2.3.4
- [5ad65d4e](5ad65d4eb8) emacasPackages.sunrise-commander: 6r435 -> 0.0.0-unstable=2021-04-23
- [12d5b760](12d5b760ae) skribilo: rewrite
- [89faeb90](89faeb90dd) img2pdf: 0.4.0 -> 0.4.1 ([NixOS/nixpkgs⁠#122669](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/122669))
- [f75b9fe4](f75b9fe4f3) tiscamera: 0.11.1 -> 0.13.1
- [a4417d8c](a4417d8c14) gojsontoyaml: unstable-2020-06-02 -> unstable-2020-12-16
- [a9a9d51f](a9a9d51f3b) ted: move pkg-config to nativeBuildInputs
- [e24fd274](e24fd2740f) swaglyrics: bump unidecode version constraint
- [a931f708](a931f70824) nushell: fix darwin build
- [4d8dd0af](4d8dd0afd2) nushell: mark tests broken on darwin
- [e7f334e6](e7f334e680) librespeed-cli: 1.0.8 -> 1.0.9
- [1f502001](1f50200174) aisleriot: 3.22.13 -> 3.22.16
- [7ebcacae](7ebcacaebc) python3Packages.ics: fix build
- [344ec021](344ec021bf) libxmlb: 0.3.0 -> 0.3.1
- [2fe70874](2fe7087430) php80Extensions.apcu_bc: mark as broken
- [38f289db](38f289db33) broot: 1.3.1 -> 1.4.0
- [941c14f3](941c14f345) sqsh: fix build with freetds
- [19fa85a6](19fa85a66d) sniffglue: 0.12.0 -> 0.12.1
- [e8ab2b3e](e8ab2b3eeb) py-dmidecode: init at 0.1.0
- [1998a424](1998a4243b) python3Packages.mdformat: init at 0.7.6
- [c5f430a1](c5f430a166) python3Packages.fpyutils: init at 2.0.0
- [67ef7772](67ef7772a1) exim: fix enableMySQL (use libmysqlclient.dev)
- [28dbe247](28dbe247f9) python3Packages.md-toc: init 7.2.0
- [4bb3b2a2](4bb3b2a23f) cpulimit: 2.6 -> 2.7
- [8a625b53](8a625b53b3) navi: 2.15 -> 2.16
- [bde27b4e](bde27b4e97) knot-dns: 3.0.5 -> 3.0.6
- [c9bfa3c1](c9bfa3c10b) python3Packages.imap-tools: 0.40.0 -> 0.41.0
- [c41a4052](c41a405209) vimPlugins: Update
- [0326ec60](0326ec60b5) vimPlugins.qfenter: init at 2020-10-09
- [330cc7ef](330cc7eff3) md4c: 0.4.7 -> 0.4.8
- [7dd35786](7dd35786f3) steam-tui: init at 0.1.0
- [c818dec7](c818dec738) gencfsm: 1.8.19 -> 1.9
- [89263112](8926311238) vsftpd: fix build with gcc9
- [73b68d33](73b68d3304) aisleriot: changed updateScript
- [9bd967cd](9bd967cdfe) vscodium: 1.56.0 -> 1.56.1
- [306d756e](306d756ea9) anydesk: Add minizip as buildInputs
- [80969cc4](80969cc4ec) haskellPackages.taffybar: fix build
- [c8283ced](c8283cedb7) python3Packages.pytorch-bin: use CUDA 11 wheels
- [c49f63cd](c49f63cddf) i3status-rust: 0.20.0 -> 0.20.1
- [22401596](2240159667) exoscale-cli: 1.28.0 -> 1.29.0
- [3b36371c](3b36371ccd) deno: 1.9.2 -> 1.10.1
- [a613984d](a613984d8a) python3Packages.mypy-boto3-builder: init at 4.12.0
- [33faf27e](33faf27e31) python3Packages.mypy-boto3-s3: init at 1.17.71
- [96b0e6fe](96b0e6fe5f) trivy: 0.17.2 -> 0.18.0
- [b02724b9](b02724b903) go-toml: 1.9.0 -> 1.9.1
- [29ff6e85](29ff6e85f4) terraform-ls: 0.16.0 -> 0.16.2
- [86350915](863509151d) python3Packages.aiohue: 2.3.0 -> 2.3.1
- [07805915](0780591569) python3Packages.denonavr: 0.10.7 -> 0.10.8
- [b7cc0d6d](b7cc0d6d73) home-assistant: 2021.5.2 -> 2021.5.3
- [d49e7dd0](d49e7dd0f4) squashfs-tools-ng: 1.1.0 -> 1.1.1; add bzip2 support; enableParallelBuilding ([NixOS/nixpkgs⁠#122649](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/122649))
- [acd49fab](acd49fab8e) python3Packages.requests-http-signature: fix error in tests ([NixOS/nixpkgs⁠#120987](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/120987))
- [9b03a74f](9b03a74fb5) 0verkill: fix darwin build
- [8a32c475](8a32c47586) .github/labeler.yml: Update GNOME file patterns
- [fd4f20bc](fd4f20bce4) signal-desktop: 5.0.0 -> 5.1.0
- [ce6d0772](ce6d077290) libtorrent-jesec: init at 0.13.8-r1
- [0c6b4f2c](0c6b4f2c75) rtorrent-jesec: init at 0.9.8-r11
- [5c4c71c3](5c4c71c31a) linux_lqx: 5.11.19 -> 5.11.20
- [92a2e684](92a2e684bc) sndio: 1.7.0 -> 1.8.0 ([NixOS/nixpkgs⁠#122352](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/122352))
- [65670311](6567031111) nixos/mirakurun: add polkit rule for smart card access ([NixOS/nixpkgs⁠#122066](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/122066))
- [8d0b9934](8d0b9934a2) python3Packages.aioesphomeapi: 2.6.6 -> 2.7.0
- [c9491304](c94913045f) python37.pkgs.prettytable: Fix build
- [ee1cfa2d](ee1cfa2df1) abcmidi: 2021.05.09 -> 2021.05.10
- [42ee87ee](42ee87ee79) pythonPackages.django-pipeline: drop
- [65380bc3](65380bc338) steam-tui: adds missing runtime dependencies
- [2e95877e](2e95877eb6) bitwarden-cli: set meta.mainProgram
- [854207d1](854207d16c) castty: fix darwin build
- [e90057a4](e90057a4a5) chafa: fix darwin build
- [e2adee68](e2adee6827) chromiumDev: Fix the build
- [362bc678](362bc6785a) Fix conan build caused by failing pyjwt
- [32ea6bfe](32ea6bfe74) dcs: use yuicompressor instead of slimit and CSSMinifier ([NixOS/nixpkgs⁠#122764](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/122764))
- [83a8517e](83a8517e5a) rtorrent-jesec: 0.9.8-r10 -> 0.9.8-r13
- [b6475a8f](b6475a8f90) gonic: fix transcoding support
- [bf434ca1](bf434ca1a1) libnixxml: fix build + support cross + enable tests
- [3d770c1a](3d770c1aa5) libnixxml: patch /bin/bash path
- [32c14664](32c14664e8) erlang-ls: init at 0.15.0
- [c46059f7](c46059f732) taffybar: restore ability to override ghcWithPackages arg
- [a7d76a6c](a7d76a6cf0) haskellPackages.taffybar: add rvl to meta.maintainers
- [f47e1433](f47e1433a5) linux: 5.10.35 -> 5.10.36
- [97ef1f8f](97ef1f8fc2) linux: 5.11.19 -> 5.11.20
- [5d2d9637](5d2d963774) linux: 5.12.2 -> 5.12.3
- [0ae6555e](0ae6555eab) linux: 5.4.117 -> 5.4.118
- [82f106ce](82f106cee0) linux-rt_5_10: 5.10.30-rt38 -> 5.10.35-rt39
- [33eeddc2](33eeddc2ec) linux/hardened/patches/5.10: 5.10.35-hardened1 -> 5.10.36-hardened1
- [5bece67f](5bece67ff6) linux/hardened/patches/5.11: 5.11.19-hardened1 -> 5.11.20-hardened1
- [8c3ef4c6](8c3ef4c69c) linux/hardened/patches/5.4: 5.4.117-hardened1 -> 5.4.118-hardened1
- [d8438b87](d8438b875f) python3Packages.dependency-injector: 4.31.1 -> 4.32.2
- [15dd18a4](15dd18a4a8) ergo: 4.0.9 -> 4.0.10
- [d1601a40](d1601a40c4) supertux-editor: mark as broken ([NixOS/nixpkgs⁠#122781](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/122781))
- [ca6255bf](ca6255bf0b) nixos/docker: fix evaluation when NAT is enabled too
- [621a242a](621a242a1a) jekyll: Remove myself as maintainer
- [63ff7e43](63ff7e430b) chromiumBeta: 91.0.4472.38 -> 91.0.4472.57
- [ac77e708](ac77e708e0) google-cloud-sdk: 339.0.0 -> 340.0.0
- [0b14ea44](0b14ea44a6) auditwheel: init at 4.0.0 ([NixOS/nixpkgs⁠#122607](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/122607))
- [cd0b34af](cd0b34aff2) terminator: 2.1.0 -> 2.1.1
- [ecb635c8](ecb635c8f8) unfs3: mark as broken
- [d52e8aaa](d52e8aaab5) glcontext: init at 2.3.3 and add as moderngl dep
- [8b348b32](8b348b323d) linuxPackages<=4.9: mark broken on aarch64
- [ef2742bc](ef2742bcde) elm-instrument: fix build
- [1eb2fd13](1eb2fd13aa) python3Packages.csvw: fix darwin
- [f2c51f54](f2c51f546b) open-vm-tools: fix building with glib 2.68
- [61e1c0fe](61e1c0fe89) python3Packages.globus-sdk: unbreak
- [9236fe83](9236fe835f) sweethome3d: 6.4.2 -> 6.5.2, also bump editors, use fetchurl and fix build
- [34703f88](34703f8873) python3Packages.ipydatawidgets: unbreak
- [01b771bc](01b771bce0) gpsprune: 20.3 -> 20.4
- [eca1520e](eca1520ebb) pdf2djvu: unbreak
- [99c0fb90](99c0fb9059) python3Packages.pytorch-metric-learning: fix build
- [7693c5d5](7693c5d59b) rq: remove #[deny(warnings)] to reduce chance of build failures with rustc update
- [c6b62f23](c6b62f2381) mkShell: introduce packages argument ([NixOS/nixpkgs⁠#122180](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/122180))
- [3eac120c](3eac120c3d) netlify-cli: fix build
2021-05-20 22:13:59 +02:00
2021-01-23 17:15:48 +01:00
2021-01-23 17:15:48 +01: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%