### Changes for revealjs On branch: master Commits:cf8e64bd85...48024a1137
- [d2dff6a8](d2dff6a821
) Fix target for click on progress bar - [75480b5b](75480b5bf4
) Remove unused argument - [aaa7c02b](aaa7c02b5c
) Prevent layout thrashing by status text - [3d701edc](3d701edc71
) Limit slide number DOM mutations - [957f928c](957f928c70
) Prevent layout thrashing by scroll height - [49f78535](49f78535d1
) Use const in print controller - [33c4c1c5](33c4c1c5d2
) Batch print DOM updates - [10f02ece](10f02ece99
) Group pdf setup reads and writes - [e57ff233](e57ff233a4
) Group background reads and writes - [1e70d9fe](1e70d9fe46
) upgrade to node-sass 5.0 (adds support for node 15.x) [hakimel/reveal.js#2841](http://r.duckduckgo.com/l/?uddg=https://github.com/hakimel/reveal.js/issues/2841) - [26f5fa0c](26f5fa0c12
) Fixed path to themes in demo.html - [f576b98f](f576b98fbd
) rerun r-fit-text based on printed slide size, fixes overflow when printing to PDF [hakimel/reveal.js#2865](http://r.duckduckgo.com/l/?uddg=https://github.com/hakimel/reveal.js/issues/2865) - [2e805c91](2e805c9193
) fix bug where slide-spcific background transitions were overruled by global transition setting - [95592293](95592293ae
) remove unused style ids - [1de653a9](1de653a95a
) reduce tab size in code blocks from 8 to 2 - [90a0d2d4](90a0d2d449
) typo - [290c251c](290c251c7e
) fix default md slide separator not working [hakimel/reveal.js#2850](http://r.duckduckgo.com/l/?uddg=https://github.com/hakimel/reveal.js/issues/2850) - [9c83edbf](9c83edbf13
) Expose showPreview - [2d050f83](2d050f83c1
) Expose preview management functions - [d1f6e6cc](d1f6e6cce9
) use computed background style if colorToRgb fails - [be110fad](be110fad11
) prevent accidental swipe gestures when scrubbing video/audio timelines - [8347a2de](8347a2de58
) Allow multiple data-background - [6d735dda](6d735ddaf8
) stop playing media inside of fragments when the fragment is hidden - [f5faeba9](f5faeba9f3
) update dependencies - [5d8d6731](5d8d673117
) Add missing semicolons - [236d3e37](236d3e3722
) tidy up code for [hakimel/reveal.js#2940](http://r.duckduckgo.com/l/?uddg=https://github.com/hakimel/reveal.js/issues/2940) - [74f3c4b4](74f3c4b455
) fix typo [hakimel/reveal.js#2949](http://r.duckduckgo.com/l/?uddg=https://github.com/hakimel/reveal.js/issues/2949) (thanks @SeanKilleen) - [2beb336c](2beb336cdb
) fix typo [hakimel/reveal.js#2949](http://r.duckduckgo.com/l/?uddg=https://github.com/hakimel/reveal.js/issues/2949) (thanks @SeanKilleen) - [2e344825](2e344825f8
) update (c) year - [7daea495](7daea4957b
) remove debug code - [6884741b](6884741b94
) improve renderer option handling - [00acc730](00acc730f0
) add animateLists option to markdown plugin - [632cc788](632cc78873
) fix errors when no markdown options are provided [hakimel/reveal.js#2956](http://r.duckduckgo.com/l/?uddg=https://github.com/hakimel/reveal.js/issues/2956) - [56772afa](56772afa32
) update dependencies - [395356a0](395356a0b1
) update deps & drop node/gulp-sass in order to support node 16 [hakimel/reveal.js#2959](http://r.duckduckgo.com/l/?uddg=https://github.com/hakimel/reveal.js/issues/2959) - [6fa4f16c](6fa4f16cdb
) roll back yargs - [e852e537](e852e53792
) npm run build no longer executes tests - [ac410deb](ac410debf6
) rebuild assets - [48024a11](48024a1137
) 4.1.1
nix-doom-emacs
Status | |
---|---|
Build on master |
|
Build on develop |
|
Dependency updater |
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