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:
parent
acb49a46c3
commit
d58bc882cc
1 changed files with 7 additions and 0 deletions
7
.chezmoiignore
Normal file
7
.chezmoiignore
Normal 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 }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue