aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/run_onchange_after_deploy-etc.sh
Commit message (Collapse)AuthorAgeFilesLines
* fix: use cp --remove-destination in etc deploy scriptLibravatar sommerfeld2 days1-2/+2
| | | | | Old stow symlinks in /etc/ point back to the repo, making source and dest the same file. --remove-destination removes the symlink first.
* fix: use CHEZMOI_SOURCE_DIR env var in run scriptsLibravatar sommerfeld2 days1-3/+3
| | | | | | Cannot call 'chezmoi source-path' from within a run script — it deadlocks on the persistent state lock. Use the CHEZMOI_SOURCE_DIR env var that chezmoi provides to run scripts instead.
* fix: use chezmoi source-path in run scriptsLibravatar sommerfeld2 days1-3/+3
| | | | | | chezmoi executes run scripts from a temp directory, so $(dirname $0) resolves to /tmp instead of the repo. Use 'chezmoi source-path' to locate etc/, etc2/, and firefox/ files.
* feat: add chezmoi config, ignore, and deploy scriptsLibravatar sommerfeld2 days1-0/+25
- .chezmoi.toml.tmpl: minimal config with hostname data - .chezmoiignore: exclude repo-only files from deployment - run_onchange_after_deploy-etc.sh: deploy etc/ and etc2/ to /etc - run_onchange_after_deploy-firefox.sh: deploy firefox overrides to profile