Merge pull request #193 from thiagokokada/update-readme

Update README.md
This commit is contained in:
Thiago Kenji Okada
2022-07-07 21:52:55 +01:00
committed by GitHub

View File

@@ -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 = { {
enable = true; services.emacs = {
package = doom-emacs; # use programs.emacs.package instead if using home-manager enable = true;
package = doom-emacs; # use programs.emacs.package instead if using home-manager
};
} }
``` ```