### Changes for emacs-overlay On branch: master Commits:6c78924bc5...b8e24cec99
- [9450c5a8](9450c5a84f
) Updated repos/elpa - [a330005e](a330005ee3
) Updated repos/melpa - [a4b6aca2](a4b6aca2d9
) Updated repos/nongnu - [15345108](15345108d2
) Updated repos/melpa - [95f7b518](95f7b51821
) Updated repos/nongnu - [9af725ee](9af725ee5d
) Updated repos/elpa - [9a02dc2c](9a02dc2ccb
) Updated repos/melpa - [b7f294e9](b7f294e967
) Updated repos/melpa - [a2783e10](a2783e10a9
) Updated repos/nongnu - [9e18e2e8](9e18e2e8a9
) Updated repos/melpa - [3b1cd61c](3b1cd61c04
) Updated repos/elpa - [99f60719](99f6071996
) Updated repos/melpa - [81634354](8163435441
) Updated repos/melpa - [4bbc5d56](4bbc5d5611
) Updated repos/nongnu - [70787f42](70787f42db
) Updated repos/melpa - [4544e7ba](4544e7ba03
) Updated repos/melpa - [f3661c50](f3661c5013
) Updated repos/elpa - [bcd8fd24](bcd8fd243f
) Updated repos/melpa - [6c1b2aae](6c1b2aae7d
) Add workaround to fix failing Hydra for emacsGit - [8ff39aa2](8ff39aa20c
) Updated repos/melpa - [be61e563](be61e5636f
) Updated repos/nongnu - [15d6f9f2](15d6f9f211
) Updated repos/emacs - [a28b388b](a28b388b02
) Updated repos/melpa - [469f35d4](469f35d4da
) Updated repos/emacs - [20dc7a0a](20dc7a0a1e
) Updated repos/melpa - [88c386d4](88c386d4fd
) Updated repos/emacs - [078ea145](078ea145c9
) Updated repos/melpa - [a6329647](a6329647be
) Move default.nix into overlays dir - [dfa7c2a8](dfa7c2a85b
) Fix non-flake overlay usage - [c91c353b](c91c353b5d
) Split into two overlays: one for emacs and one for emacs packages - [d0c070ee](d0c070ee87
) Updated repos/melpa - [13e7244f](13e7244f79
) Don't prepend an extra "emacs-" to the unstable tarball - [f0fff2e0](f0fff2e095
) Updated repos/melpa - [c24191e5](c24191e588
) Pin to Nix 2.11.0 for now - [7403ebb7](7403ebb77e
) Revert "Pin to Nix 2.11.0 for now" - [4ff762be](4ff762be71
) Revert "Use nixpkgs master for now" - [8feddbc3](8feddbc301
) Updated repos/elpa - [779f67ba](779f67baed
) Updated repos/emacs - [f24ebfcf](f24ebfcf55
) Updated repos/melpa - [15ff42e0](15ff42e01d
) Updated repos/emacs - [81cff349](81cff349f6
) Updated repos/melpa - [c993a91c](c993a91cc5
) Updated repos/melpa - [8aa90769](8aa90769af
) Updated repos/elpa - [42f0bd08](42f0bd088f
) Updated repos/emacs - [4d79c6e0](4d79c6e096
) Updated repos/melpa - [63526575](63526575d9
) Updated repos/elpa - [80c01c5b](80c01c5baa
) Updated repos/emacs - [1236963f](1236963fff
) Updated repos/melpa - [06a7ca36](06a7ca3676
) Updated repos/emacs - [bfb74a16](bfb74a16f8
) Updated repos/melpa - [04351718](0435171879
) Updated repos/nongnu - [1a6894c6](1a6894c6b4
) Updated repos/elpa - [797070ba](797070baa6
) Updated repos/emacs - [91c29a06](91c29a0653
) Updated repos/melpa - [916eb550](916eb55065
) Updated repos/elpa - [9f2a8882](9f2a88822e
) Updated repos/emacs - [b59774ea](b59774ea32
) Updated repos/melpa - [db1c01c5](db1c01c5fa
) Updated repos/nongnu - [404aa01a](404aa01a3f
) Updated repos/emacs - [69001f72](69001f7209
) Updated repos/melpa - [bb224e7e](bb224e7e82
) Updated repos/nongnu - [adc46fcc](adc46fcc2b
) Updated repos/emacs - [3aa20d38](3aa20d38ae
) Updated repos/melpa - [4020b039](4020b03991
) Updated repos/elpa - [6acc25a4](6acc25a4b3
) Updated repos/emacs - [6ce42e32](6ce42e3255
) Updated repos/melpa - [fa664e37](fa664e37c2
) Updated repos/nongnu - [3b1aaf3a](3b1aaf3ac1
) Updated repos/emacs - [c3b3d88e](c3b3d88eb0
) Updated repos/melpa - [dcc349c3](dcc349c3a3
) Updated repos/elpa - [f3a3557a](f3a3557a39
) Updated repos/emacs - [053ed377](053ed3777e
) Updated repos/melpa - [49f1e815](49f1e815d9
) Updated repos/emacs - [0ca40a77](0ca40a7728
) Updated repos/melpa - [2cf9caa0](2cf9caa06c
) Updated repos/nongnu - [432b11df](432b11dfa2
) Updated repos/emacs - [d6ab2ecd](d6ab2ecd8d
) Updated repos/melpa - [6929dda2](6929dda248
) Updated repos/elpa - [1c238920](1c238920a9
) Updated repos/emacs - [fed2cdc6](fed2cdc688
) Updated repos/melpa - [eb793466](eb793466ab
) Updated repos/emacs - [e6fa2829](e6fa28293a
) Updated repos/melpa - [af36e7fe](af36e7feb4
) Updated repos/nongnu - [05539d02](05539d0200
) Updated repos/emacs - [31389685](31389685a5
) Updated repos/melpa - [b8553aae](b8553aae68
) Updated repos/emacs - [4e73aa5b](4e73aa5b1c
) Updated repos/melpa - [91739821](917398213e
) Updated repos/emacs - [16c2a6d3](16c2a6d345
) Updated repos/melpa - [e6c5abf9](e6c5abf9ff
) Updated repos/nongnu - [88c3ea32](88c3ea32e2
) Updated repos/emacs - [d0455895](d04558957e
) Updated repos/melpa - [55bed8e9](55bed8e925
) Updated repos/emacs - [f5dd8b46](f5dd8b46c5
) Updated repos/melpa - [14a9ff2c](14a9ff2c62
) Updated repos/elpa - [6d94980f](6d94980f89
) Updated repos/emacs - [b1fcd0a5](b1fcd0a5ed
) Updated repos/melpa - [77b97dd6](77b97dd680
) Updated repos/emacs - [49c3f4e5](49c3f4e5a1
) Updated repos/melpa - [63e405c4](63e405c420
) Updated repos/nongnu - [eb891529](eb891529a8
) Updated repos/elpa - [2142ce37](2142ce3789
) Add `feature/tree-sitter` derivation to emacs overlay - [f55075f7](f55075f7fb
) Updated repos/emacs - [a828f7f2](a828f7f2ea
) Make `withTreeSitterPlugins` overridable. - [977b205a](977b205ab9
) Updated repos/melpa - [fdd2f0c3](fdd2f0c3e0
) Updated repos/elpa - [35ee7772](35ee7772e5
) Updated repos/emacs - [3da50fda](3da50fdaa0
) Updated repos/melpa - [388aac78](388aac7847
) Updated repos/nongnu - [89e9a718](89e9a71891
) Updated repos/emacs - [6814c3b7](6814c3b769
) Updated repos/melpa - [dddc3dcd](dddc3dcd01
) Updated repos/nongnu - [72bd545c](72bd545cc4
) Updated repos/emacs - [a84e4909](a84e490929
) Updated repos/melpa - [bb8e0002](bb8e000211
) Updated repos/elpa - [1a3881c4](1a3881c447
) Updated repos/emacs - [28e2a597](28e2a59713
) Updated repos/melpa - [17508435](1750843565
) Updated repos/emacs - [c2b0e0cf](c2b0e0cfa4
) Updated repos/melpa - [caf856bd](caf856bd53
) Updated repos/elpa - [86e60523](86e6052310
) flake.nix: fix the hack of getting overlayAttrs - [fd9d1779](fd9d1779bb
) Updated repos/emacs - [472a238c](472a238cc3
) Updated repos/melpa - [3e7e2969](3e7e2969ba
) Updated repos/emacs - [05484486](054844861c
) Updated repos/melpa - [4fd0bbbe](4fd0bbbedf
) elisp.nix: add a param to include user config as a default init file - [57ee1eaa](57ee1eaab6
) README: add doc for defaultInitFile - [68323cbc](68323cbc98
) Updated repos/emacs - [36f1317b](36f1317b26
) Updated repos/melpa - [4cec379c](4cec379c85
) Updated repos/nongnu - [981cb38e](981cb38ebe
) Updated repos/emacs - [dc4c0a71](dc4c0a7163
) Updated repos/melpa - [bcd60c7e](bcd60c7ed3
) Updated repos/nongnu - [9471e5ac](9471e5ac1d
) Updated repos/emacs - [33ce8dab](33ce8dabfd
) Updated repos/melpa - [45471f48](45471f48c9
) Updated repos/elpa - [fd2d832e](fd2d832ec5
) Updated repos/emacs - [7627a31c](7627a31cb4
) Updated repos/melpa - [938cc191](938cc191ca
) Updated repos/elpa - [38c79c10](38c79c1083
) Updated repos/emacs - [d5848dc2](d5848dc28f
) Updated repos/melpa - [154e5cd6](154e5cd692
) Updated repos/nongnu - [c1143602](c1143602cb
) address comments - [bcc88357](bcc8835700
) Updated repos/emacs - [c41ae1b1](c41ae1b159
) Updated repos/melpa - [f8d2c22b](f8d2c22b07
) Updated repos/nongnu - [be190d94](be190d9408
) Updated repos/emacs - [80f4cebe](80f4cebe57
) Updated repos/melpa - [a03c0961](a03c096100
) overlays: use a better and clearer way to compose overlays - [46c6c90e](46c6c90eff
) Revert "flake.nix: fix the hack of getting overlayAttrs" - [52d45a4f](52d45a4f4a
) Updated repos/elpa - [43e724fa](43e724face
) Updated repos/emacs - [f5ef8526](f5ef8526ce
) Updated repos/melpa - [d5dbc29a](d5dbc29af6
) Updated repos/nongnu - [286ead3d](286ead3db6
) Updated repos/melpa - [73b967f3](73b967f3b7
) Updated repos/emacs - [d0198a7a](d0198a7a18
) Updated repos/melpa - [4d784812](4d78481238
) Updated repos/emacs - [d47de60c](d47de60c72
) Updated repos/melpa - [85821499](8582149912
) Updated repos/nongnu - [3f5b0278](3f5b02783c
) Updated repos/emacs - [519402f4](519402f40c
) Updated repos/melpa - [e365c1b1](e365c1b1d9
) Updated repos/nongnu - [574d2e16](574d2e1668
) Updated repos/elpa - [184d6546](184d654673
) Updated repos/emacs - [9fab503d](9fab503d5d
) Updated repos/melpa - [89a45176](89a45176df
) Updated repos/elpa - [d153555e](d153555ea6
) Updated repos/emacs - [62180668](62180668ad
) Updated repos/melpa - [afc9e622](afc9e62261
) Updated repos/emacs - [0573574a](0573574af2
) Updated repos/melpa - [ce0c5e0d](ce0c5e0de8
) Updated repos/emacs - [b8e24cec](b8e24cec99
) Updated repos/melpa
nix-doom-emacs
Status | |
---|---|
Build on master |
|
Dependency updater | |
Matrix Chat |
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/nix-community/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 ];
}
./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:nix-community/home-manager";
nix-doom-emacs.url = "github:nix-community/nix-doom-emacs";
};
outputs = {
self,
nixpkgs,
lib,
home-manager,
nix-doom-emacs,
...
}: {
nixosConfigurations.exampleHost = lib.nixosSystem {
system = "x86_64-linux";
modules = [
home-manager.nixosModules.home-manager
({
home-manager.users.exampleUser = lib.mkMerge [
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; # Not needed if you're using the Home-Manager module instead
};
}
to connect to the daemon you can now run emacsclient -c