Skip to content

Commit

Permalink
README: add doc for defaultInitFile
Browse files Browse the repository at this point in the history
  • Loading branch information
jian-lin committed Oct 15, 2022
1 parent 4fd0bbb commit 57ee1ea
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 57ee1ea

Please sign in to comment.