László Vaskó 8e36b53b3e Forcing no to all questions doom install would ask
Newer doom versions (after 873fc5c0db4876d9e1f347fa6cbd2a3a1933df69) has
a rewritten cli interface. I could not figure out how to pass `--no-env`
and `--no-fonts` (should check later if it is a bug in doom)
2019-11-10 17:41:02 +01:00
2019-10-23 13:25:43 +02:00

nix-doom-emacs

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 exprerience as some dependenices 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
 doomPrivateDir = ./doom.d;

 doom-emacs = pkgs.callPackage (builtins.fetchTarball {
   url = https://github.com/vlaci/nix-doom-emacs/archive/master.tar.gz;
 }) { inherit doomPrivateDir; };
in {
 home.packages = [ doom-emacs ];
 home.file.".doom.d".source = doomPrivateDir;
 home.file.".emacs.d".source = doom-emacs.emacsd;
}

Under the hood

This expression leverages nix-straight.el under the hood for installing depdendencies. The restrictions of that package apply here too.

Description
doom-emacs packaged for Nix [maintainers=@ckiee,@thiagokokada]
Readme MIT 3.3 MiB
Languages
Nix 64.3%
Emacs Lisp 35.7%