mirror of
https://github.com/nix-community/nix-doom-emacs
synced 2025-08-07 12:47:32 -05:00
f1aa5a9ca7939b9a44bea720e264cf0b672e57ec
(org +present)
by downloading reveal.js
See the following commit in doom-emacs: > commit 723583e8d737fac93a05fe9dc06a233f3efdc305 > Author: Diego Zamboni <diego@zzamboni.org> > Date: Thu Aug 27 07:15:14 2020 +0200 > > Automatically download reveal.js and use local copy, default to v4 (#3846) > > * Automatically download reveal.js upgrade to v4 > > The +present option now automatically checks out the reveal.js > repository and configures org-re-reveal to use it. It also now uses > reveal.js 4 instead of 3.9.2. > > * Changed :init to :config
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; # 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")
'';
}
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%