Files
nix-doom-emacs/README.md
László Vaskó 56089c8774 ~/.doom.d no longer needs to be installed
`extraConfig` is merged into doom user's `config.el` file
2019-11-23 22:19:19 +01:00

1.1 KiB

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
 doom-emacs = pkgs.callPackage (builtins.fetchTarball {
   url = https://github.com/vlaci/nix-doom-emacs/archive/master.tar.gz;
 }) {
   doomPrivateDir = ./doom.d;
 };
in {
 home.packages = [ doom-emacs ];
 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.