From d58bc882cc4f3816e647bd5f087ae2051a1c3144 Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Mon, 8 Jun 2026 18:07:27 +0000 Subject: [PATCH] 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 --- .chezmoiignore | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .chezmoiignore diff --git a/.chezmoiignore b/.chezmoiignore new file mode 100644 index 0000000..443444d --- /dev/null +++ b/.chezmoiignore @@ -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 }}