README: add doc for defaultInitFile

This commit is contained in:
Lin Jian 2022-10-06 13:05:24 +08:00
parent 4fd0bbbedf
commit 57ee1eaab6
No known key found for this signature in database
GPG key ID: A6698D36434F75A5

View file

@ -91,6 +91,17 @@ required in a user's config via =use-package= or =leaf=.
# config = ./emacs.org;
config = ./emacs.el;
# Whether to include your config as a default init file.
# If being bool, the value of config is used.
# Its value can also be a derivation like this if you want to do some
# substitution:
# defaultInitFile = pkgs.substituteAll {
# name = "default.el";
# src = ./emacs.el;
# inherit (config.xdg) configHome dataHome;
# };
defaultInitFile = true;
# Package is optional, defaults to pkgs.emacs
package = pkgs.emacsGit;