diff options
| author | 2026-05-13 13:43:39 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:39 +0100 | |
| commit | 2026f98babdcdd34c09eb59479a02a5603fc70a2 (patch) | |
| tree | 9efa6f4ca03c314ad6f7e3f484864f409d6837c3 /etc/locale.gen | |
| parent | fef8129ccaf0fc439ff1d1a117b26654f58efc78 (diff) | |
| download | dotfiles-2026f98babdcdd34c09eb59479a02a5603fc70a2.tar.gz dotfiles-2026f98babdcdd34c09eb59479a02a5603fc70a2.tar.bz2 dotfiles-2026f98babdcdd34c09eb59479a02a5603fc70a2.zip | |
feat(lostfiles): filter known/private/cache paths via auto-synced ignore
Upstream lostfiles has no extension mechanism; the weekly report ends
up dominated by files this repo intentionally deploys plus host-private
files we deliberately don't track plus regenerated GTK caches.
Add etc/lostfiles.ignore.tmpl which renders /etc/lostfiles.ignore from
two sources:
1. Every file under etc/ in the repo (auto-enumerated at chezmoi-apply
time, same find-sort pattern the etc deploy script uses). This
keeps the ignore list in sync with what we actually deploy with
zero manual maintenance.
2. A static block for: the sudo-i symlink, host-private
systemd-networkd units (99-hodor*, 99-mandibles*) which contain
WireGuard secrets, the getty@tty1 autologin override which
contains the username, and known pacman-hook-generated caches
under /usr/lib/{gdk-pixbuf-2.0,gtk-4.0}/.
Wrap /usr/bin/lostfiles in lostfiles.service via grep -vFxf, with a
fallback when /etc/lostfiles.ignore doesn't yet exist (first deploy).
Diffstat (limited to 'etc/locale.gen')
0 files changed, 0 insertions, 0 deletions
