mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-25 03:11:41 -08:00
Formerly, you were required to have a doom! call (even a blank one) in ~/.doom.d/init.el if you wanted to have private sub-modules in ~/.doom.d/modules/. No more. It is no longer doom!'s responsibility to affect `doom-modules-dirs`. This is now done by :config private, while the Doom modules directory is now the initial entry in doom-modules-dirs. |
||
|---|---|---|
| .. | ||
| autoload.el | ||
| config.el | ||
| init.el | ||
| README.org | ||
:config private
This module enables support for an external private module and nested
submodules, either at ~/.doom.d (or $XDG_CONFIG_HOME/doom with the +xdg
flag).
Table of Contents TOC
Module Flags
+xdgTells this module to respect XDG conventions and look for your private config in$XDG_CONFIG_HOME/doom(falls back to~/.config/doom).
Features
Private sub-modules
Modules placed in the modules/ subdirectory of your external config are
symlinked to ~/.emacs.d/modules/private, and can be activated from doom!:
(doom! :private private-module1 private-module2 ...)