nixos-config/modules/home/claude-code/default.nix
Sridhar Ratnakumar e7e2544d24 umm
2026-04-15 06:55:10 -04:00

24 lines
583 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
# effortLevel = "high";
env = {
CLAUDE_CODE_NO_FLICKER = "1";
CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING = "1";
CLAUDE_CODE_DISABLE_AUTO_MEMORY = "1";
};
};
};
}