<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotfiles/run_onchange_after_deploy-etc.sh.tmpl, branch master</title>
<subtitle>My linux config and rc files
</subtitle>
<id>https://git.sommerfeld.dev/dotfiles/atom?h=master</id>
<link rel='self' href='https://git.sommerfeld.dev/dotfiles/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.sommerfeld.dev/dotfiles/'/>
<updated>2026-04-21T00:23:46Z</updated>
<entry>
<title>feat(etc): drift detection + auto-enumerating deploy template</title>
<updated>2026-04-21T00:23:46Z</updated>
<author>
<name>sommerfeld</name>
<email>sommerfeld@sommerfeld.dev</email>
</author>
<published>2026-04-21T00:23:46Z</published>
<link rel='alternate' type='text/html' href='https://git.sommerfeld.dev/dotfiles/commit/?id=372b8b27a64179602a8c81fe9d12931ebb5b8cef'/>
<id>urn:sha1:372b8b27a64179602a8c81fe9d12931ebb5b8cef</id>
<content type='text'>
- `just etc-drift` reports /etc files modified from pacman defaults
  (via pacman -Qii) and user-created files (via pacman -Qo), subtracting
  already-managed paths and patterns listed in etc/.ignore.
- Refactor run_onchange_after_deploy-etc.sh.tmpl to enumerate files under
  etc/ automatically via find; single combined hash via chezmoi output +
  sha256sum, so new files only need to be dropped into etc/.
- etc/.ignore seeds noise filters: machine-id, ssh host keys, pacman
  keyring, mirrorlist, shadow/passwd backups, sbctl keys, ca-certs.
</content>
</entry>
<entry>
<title>feat: deploy /etc/doas.conf via chezmoi</title>
<updated>2026-04-21T00:23:33Z</updated>
<author>
<name>sommerfeld</name>
<email>sommerfeld@sommerfeld.dev</email>
</author>
<published>2026-04-21T00:23:33Z</published>
<link rel='alternate' type='text/html' href='https://git.sommerfeld.dev/dotfiles/commit/?id=315795aa3e3fc16d32a050bc9e1297c69f419581'/>
<id>urn:sha1:315795aa3e3fc16d32a050bc9e1297c69f419581</id>
<content type='text'>
Added to the etc/ deploy loop plus a post-copy chown/chmod to 0400
root:root since doas refuses to parse otherwise.
</content>
</entry>
<entry>
<title>refactor: merge etc2/ into etc/, add content hashes to run scripts</title>
<updated>2026-04-21T00:23:19Z</updated>
<author>
<name>sommerfeld</name>
<email>sommerfeld@sommerfeld.dev</email>
</author>
<published>2026-04-21T00:23:19Z</published>
<link rel='alternate' type='text/html' href='https://git.sommerfeld.dev/dotfiles/commit/?id=fcafb03c9b1030dea399d44dda52f62e9117ad96'/>
<id>urn:sha1:fcafb03c9b1030dea399d44dda52f62e9117ad96</id>
<content type='text'>
- etc2/ only existed because stow used symlinks and reflector refused
  them. Chezmoi copies files, so no reason to keep them separate.
- Run scripts are now .tmpl files with sha256sum hashes of deployed
  files. chezmoi only re-runs them when file content actually changes,
  avoiding unnecessary doas prompts on every apply.
</content>
</entry>
</feed>
