chezmoi: ignore .claude/settings.json on devvm (divergent + secret-bearing, 0600)

The devvm's ~/.claude/settings.json carries homelab plugins + MEMORY_API_KEY (0600, added out-of-band, never committed here). A chezmoi apply would revert it to 0644 and overwrite the homelab config with the Meta source. Scope the ignore to hostname=devvm so other machines stay chezmoi-managed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Viktor Barzin 2026-06-08 18:07:27 +00:00
parent acb49a46c3
commit d58bc882cc

7
.chezmoiignore Normal file
View file

@ -0,0 +1,7 @@
# The devvm runs a divergent, secret-bearing ~/.claude/settings.json (homelab
# plugins + MEMORY_API_KEY at mode 0600, added out-of-band — NOT in this repo).
# chezmoi must not manage or clobber it there (a `chezmoi apply` would revert the
# 0600 and overwrite the homelab config). Other machines keep it chezmoi-managed.
{{ if eq .chezmoi.hostname "devvm" }}
.claude/settings.json
{{ end }}