Claude Code's user settings were a home-manager symlink into the Nix
store, so anything Claude Code saved there, such as a default model or a
/config toggle, was lost when the process exited.
Moved the declared settings to /etc/claude-code/managed-settings.json and
the skills to /etc/claude-code/.claude/skills, Claude Code's managed
locations on Linux. Managed settings and skills take precedence over the
user's own, so attribution, the Bash hook, the retry environment and the
plugin stay enforced, while ~/.claude/settings.json becomes a real file in
the persisted ~/.claude that Claude Code can write.
Test plan:
CI
Built maverick's toplevel: /etc/claude-code holds managed-settings.json
with the declared keys and the five skills
Claude Code's user settings were a home-manager symlink into the Nix
store, so anything Claude Code saved there, such as a default model or a
/config toggle, was lost when the process exited.
Moved the declared settings to /etc/claude-code/managed-settings.json and
the skills to /etc/claude-code/.claude/skills, Claude Code's managed
locations on Linux. Managed settings and skills take precedence over the
user's own, so attribution, the Bash hook, the retry environment and the
plugin stay enforced, while ~/.claude/settings.json becomes a real file in
the persisted ~/.claude that Claude Code can write.
Test plan:
- CI
- Built maverick's toplevel: /etc/claude-code holds managed-settings.json
with the declared keys and the five skills
Claude Code's user settings were a home-manager symlink into the Nix
store, so anything Claude Code saved there, such as a default model or a
/config toggle, was lost when the process exited.
Moved the declared settings to /etc/claude-code/managed-settings.json and
the skills to /etc/claude-code/.claude/skills, Claude Code's managed
locations on Linux. Managed settings and skills take precedence over the
user's own, so attribution, the Bash hook, the retry environment and the
plugin stay enforced, while ~/.claude/settings.json becomes a real file in
the persisted ~/.claude that Claude Code can write. Auto mode is also
made the default permission mode, since choosing it with Shift+Tab lasts
only for the session.
Test plan:
- CI
- Built maverick's toplevel: /etc/claude-code holds managed-settings.json
with the declared keys and the five skills
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Claude Code's user settings were a home-manager symlink into the Nix
store, so anything Claude Code saved there, such as a default model or a
/config toggle, was lost when the process exited.
Moved the declared settings to /etc/claude-code/managed-settings.json and
the skills to /etc/claude-code/.claude/skills, Claude Code's managed
locations on Linux. Managed settings and skills take precedence over the
user's own, so attribution, the Bash hook, the retry environment and the
plugin stay enforced, while ~/.claude/settings.json becomes a real file in
the persisted ~/.claude that Claude Code can write.
Test plan:
with the declared keys and the five skills
29b3f0c355to351bcc1fe0351bcc1fe0tod1250e63eb