chore(claude): stop managing settings.json

Claude Code rewrites ~/.claude/settings.json itself, so the nix copy drifted
within every session and `nh home switch` aborted on the diff. Drops the
mutableFiles entries and the two tracked JSON sources.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Miguel Palhas
2026-08-25 08:27:39 +01:00
parent a23488dc52
commit 2c692550db
5 changed files with 7 additions and 409 deletions
+3 -1
View File
@@ -19,6 +19,9 @@
description = "--force-device-scale-factor value for Claude Desktop and T3 Code.";
};
# ~/.claude/settings.json stays unmanaged: Claude Code rewrites it itself
# (model pins, permission grants, plugin state), so any nix copy drifts within
# a session and every `nh home switch` then aborts on the diff.
config.home = {
packages = with pkgs; [
inputs.claude-code.packages.${pkgs.stdenv.hostPlatform.system}.default
@@ -47,6 +50,5 @@
};
};
mutableFiles.".claude/settings.json".source = ./settings.json;
};
}