mirror of
https://github.com/nix-community/nix-doom-emacs
synced 2025-08-21 13:53:39 -05:00
Merge pull request #193 from thiagokokada/update-readme
Update README.md
This commit is contained in:
@@ -106,11 +106,13 @@ Under the line:
|
|||||||
in your configuration, you would add the following:
|
in your configuration, you would add the following:
|
||||||
|
|
||||||
```Nix
|
```Nix
|
||||||
|
{
|
||||||
emacsPackagesOverlay = self: super: {
|
emacsPackagesOverlay = self: super: {
|
||||||
magit-delta = super.magit-delta.overrideAttrs (esuper: {
|
magit-delta = super.magit-delta.overrideAttrs (esuper: {
|
||||||
buildInputs = esuper.buildInputs ++ [ pkgs.git ];
|
buildInputs = esuper.buildInputs ++ [ pkgs.git ];
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
To make the git dependency available. trying to rebuild doom-emacs with
|
To make the git dependency available. trying to rebuild doom-emacs with
|
||||||
@@ -123,9 +125,11 @@ or `nix-darwin`) and use the doom emacs package. `doom-emacs` will need to be
|
|||||||
referenced at the top of your config file.
|
referenced at the top of your config file.
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
services.emacs = {
|
{
|
||||||
|
services.emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = doom-emacs; # use programs.emacs.package instead if using home-manager
|
package = doom-emacs; # use programs.emacs.package instead if using home-manager
|
||||||
|
};
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user