mirror of
https://github.com/nix-community/nix-doom-emacs
synced 2025-08-27 14:23:45 -05:00
daemon: add README
This commit is contained in:
committed by
László Vaskó
parent
8c1376ad15
commit
c10269815e
14
README.md
14
README.md
@@ -78,6 +78,7 @@ installing depdendencies. The restrictions of that package apply here too.
|
|||||||
|
|
||||||
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`
|
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
|
## 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
|
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
|
||||||
@@ -103,3 +104,16 @@ in your configuration, you would add the following:
|
|||||||
```
|
```
|
||||||
to make the git dependency available.
|
to make the git dependency available.
|
||||||
trying to rebuild doom-emacs with `home-manager switch` should work correctly now.
|
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 or nix-darwin) and use the doom emacs package. `doom-emacs` will need to be referenced at the top of your config file.
|
||||||
|
|
||||||
|
```nix
|
||||||
|
services.emacs = {
|
||||||
|
enable = true;
|
||||||
|
package = doom-emacs;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
to connect to the daemon you can now run `emacsclient -c`
|
||||||
|
Reference in New Issue
Block a user