mirror of
https://github.com/nix-community/nix-doom-emacs
synced 2025-08-15 13:23:44 -05:00
8e36b53b3e7a40fcb854c18e9146291cfd262a4d
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)
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.
Languages
Nix
64.3%
Emacs Lisp
35.7%