diff options
| author | 2026-04-21 01:23:49 +0100 | |
|---|---|---|
| committer | 2026-04-21 01:23:49 +0100 | |
| commit | 0873b916d6d20972a7ce031b62906ef5d9ca567a (patch) | |
| tree | 4cb262e531862c78344ba6188833400991b76d6f /etc/udev | |
| parent | 849e1aa87b1ff733fb9e7232e29ffbf031549c3e (diff) | |
| download | dotfiles-0873b916d6d20972a7ce031b62906ef5d9ca567a.tar.gz dotfiles-0873b916d6d20972a7ce031b62906ef5d9ca567a.tar.bz2 dotfiles-0873b916d6d20972a7ce031b62906ef5d9ca567a.zip | |
refactor(etc-reset): write pristine into repo, not /etc
Operating on /etc directly created a two-source-of-truth problem:
chezmoi apply would just redeploy the repo copy anyway, so we had
to either refuse managed paths or bolt on a --force flag.
New semantics: etc-reset overwrites etc/<path> in the repo with
the pristine package contents (no doas needed, no /etc touched).
User then runs 'just apply' to deploy. Unowned files are now an
error (nothing to reset to) — remove them from the repo manually.
Diffstat (limited to 'etc/udev')
0 files changed, 0 insertions, 0 deletions
