mirror of
https://github.com/nix-community/nix-doom-emacs
synced 2025-08-29 14:33:37 -05:00
a4f78008f5356b18515a9d805b3bbd9e053ae605
## Changelog for doom-snippets: Commits: [hlissner/doom-snippets@60c57d66...94292e26](60c57d66d2...94292e263b
) * [`f2c880d0`](f2c880d07c
) Fix if-let * [`5e094062`](5e0940620f
) Remove newlines at end of while-let and if-let
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%