mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-03 04:06:16 +08:00
25 lines
647 B
Nix
25 lines
647 B
Nix
{ flake, pkgs, ... }:
|
|
{
|
|
home.packages = [
|
|
flake.inputs.llm-agents.packages.${pkgs.stdenv.hostPlatform.system}.claude-code
|
|
pkgs.tree
|
|
];
|
|
|
|
home.file.".claude/settings.json" = {
|
|
force = true;
|
|
text = builtins.toJSON {
|
|
skipDangerousModePermissionPrompt = true;
|
|
attribution = {
|
|
commit = "";
|
|
};
|
|
# Un-nerf Claude Opus in Claude Code
|
|
# See: https://x.com/kunchenguid/status/2043720881990725868
|
|
effortLevel = "high";
|
|
env = {
|
|
CLAUDE_CODE_NO_FLICKER = "1";
|
|
CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING = "1";
|
|
CLAUDE_CODE_DISABLE_AUTO_MEMORY = "1";
|
|
};
|
|
};
|
|
};
|
|
}
|