diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-22 15:52:24 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-22 15:52:24 -0500 |
| commit | bab6901df8bbd9674d7adc0dea8818238d7b873b (patch) | |
| tree | d71ad700bd3b02dbeb88cec8cc53d4e925af5cb9 /scripts/testing/README.org | |
| parent | 7c264952e4711f78a4318db1ff41a667592318e9 (diff) | |
| download | archsetup-bab6901df8bbd9674d7adc0dea8818238d7b873b.tar.gz archsetup-bab6901df8bbd9674d7adc0dea8818238d7b873b.zip | |
feat(archsetup): clone dotfiles repo and stow per DESKTOP_ENV
Dotfiles now live in their own repo (git.cjennings.net/dotfiles.git), so archsetup clones DOTFILES_REPO to the user's ~/.dotfiles and stows the right tree for the chosen DESKTOP_ENV: dwm and hyprland get common/ plus their own layer, none gets the standalone minimal/ tree. The clone runs as the target user, so the working tree is user-owned with no chown-after race.
Add DOTFILES_REPO / DOTFILES_BRANCH / DOTFILES_DIR config keys with the same injection guard the other repo keys carry. If the clone doesn't produce a git checkout, error_fatal stops the install rather than silently skipping the restore step that reverts what stow --adopt pulled in. That restore now runs for every DESKTOP_ENV, including none — minimal/ ships the .bashrc/.bash_profile that collide with /etc/skel, so its --adopt needs the same cleanup.
Diffstat (limited to 'scripts/testing/README.org')
0 files changed, 0 insertions, 0 deletions
