- doomemacs uses straight.el to install packages
- with a little patching it could be told to use system packages instead
- every (package!) should be marked with :built-in ‘prefer
- straight itself is special and has to be patched in sources
- last step is to generate startup files (profile)
- usual way is to `doom sync`, but it tries to fetch recipe repos
- a smaller elisp script could imitate `doom sync` ignoring that
- now to install it to home:
- symlink XDG dirs
- install the generated @ profile as a symlink
there is no automated way to identify dependencies, so a manual step is necessary:
- on a running doom instance export doom-packages
- import missing from melpa