aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-03-06 12:09:02 -0600
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-03-06 12:09:02 -0600
commit7ece3da33cc288d1b1c2a7de4599373c51b9bb1d (patch)
tree2ea96dd57f28079a7693a9dba8d783046951b65f
parent9561853d2c5c18749dd7d8d3eca25a360e2d8dfe (diff)
configure claude-code for mercury
-rw-r--r--hosts/mercury/hjem.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/hosts/mercury/hjem.nix b/hosts/mercury/hjem.nix
index d76f76f..1839625 100644
--- a/hosts/mercury/hjem.nix
+++ b/hosts/mercury/hjem.nix
@@ -43,4 +43,16 @@
socks5-addr = "localhost:1666"
'';
+
+ files.".claude/settings.json".text = builtins.toJSON {
+ env = {
+ ANTHROPIC_BASE_URL = "http://localhost:4141";
+ ANTHROPIC_AUTH_TOKEN = "sk-dummy";
+ ANTHROPIC_MODEL = "claude-sonnet-4.5";
+ ANTHROPIC_DEFAULT_HAIKU_MODEL = "gpt-5-mini";
+ DISABLE_NON_ESSENTIAL_MODEL_CALLS = "1";
+ CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC = "1";
+ CLAUDE_CODE_ATTRIBUTION_HEADER = "0";
+ };
+ };
}