- Emacs Lisp 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Delete the archived X11 and WezTerm configs, migration record, source manifest, and migration-dependent verifier. Git history retains the migration details. Keep scripts/tangle.el unchanged for isolated previews and platform selection, and update the README to describe ongoing Org dotfiles use. Retain the encrypted SSH source and its encryption settings because they have no Org replacement. |
||
| private_dot_ssh | ||
| scripts | ||
| .chezmoi.toml.tmpl | ||
| dotfiles.org | ||
| README.md | ||
Org dotfiles
The editable configuration lives in dotfiles.org. Org Babel generates the dotfiles from its source blocks.
Generated files use read-only modes. Build and launch examples are documentation. Use an isolated preview directory when reviewing configuration changes.
Preview and platform selection
With Emacs (including Org) available, generate into a new preview directory:
emacs --batch -Q --script scripts/tangle.el /tmp/dotfiles-preview
DOTFILES_OS=darwin DOTFILES_HOSTNAME=macbook emacs --batch -Q --script scripts/tangle.el /tmp/dotfiles-macos-preview
DOTFILES_OS=linux DOTFILES_HOSTNAME=telia emacs --batch -Q --script scripts/tangle.el /tmp/dotfiles-telia-preview
Outputs are under home/ and system/ inside the preview. Only named Emacs Lisp generators needed for noweb expansion run; documented build/launch shell commands are not executed. No live configuration is installed. A fresh destination is required to avoid stale files from other profiles.
DOTFILES_OS and DOTFILES_HOSTNAME select the target platform, defaulting to the local system. Load scripts/tangle.el before interactive tangling to define the same selection helpers; ordinary interactive tangling uses the source's real destinations. The preview script redirects all active destinations, including absolute paths, and refuses remote outputs. Private files and directories receive explicit permission modes.
The encrypted SSH source in private_dot_ssh/encrypted_config.asc and its chezmoi encryption settings in .chezmoi.toml.tmpl are retained. They have no Org replacement and are not generated by the preview script.