File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 ( mkIf cfg . ai . enable {
2929 programs . claude-code = {
3030 enable = true ;
31+ settings = {
32+ model = "opus" ;
33+ enableAllProjectMcpServers = true ;
34+ enabledMcpjsonServers = [ "linear" ] ;
35+ permissions = {
36+ allow = [
37+ "Bash(find *)"
38+ "Bash(echo *)"
39+ "Bash(grep *)"
40+ "Bash(rg *)"
41+ "Bash(head *)"
42+ "Bash(tail *)"
43+ "Bash(cat *)"
44+ "Bash(ls *)"
45+ "Bash(wc *)"
46+ "Bash(which *)"
47+ "Bash(nix *)"
48+ "Bash(git log *)"
49+ "Bash(git diff *)"
50+ "Bash(git status)"
51+ "Bash(git show *)"
52+ "Bash(git branch *)"
53+ "Bash(* --version)"
54+ "Bash(* --help *)"
55+ "mcp__linear__get_project"
56+ "mcp__linear__list_issues"
57+ "mcp__linear__get_issue"
58+ "mcp__linear__list_comments"
59+ "mcp__linear__extract_images"
60+ "mcp__linear__get_document"
61+ "mcp__figma__get_design_context"
62+ "mcp__figma__get_metadata"
63+ "mcp__figma__get_screenshot"
64+ ] ;
65+ deny = [
66+ "Bash(git push *)"
67+ "Bash(git reset *)"
68+ "Bash(git checkout *)"
69+ "Bash(rm *)"
70+ "Bash(sudo *)"
71+ "Bash(nixos-rebuild *)"
72+ "Bash(darwin-rebuild *)"
73+ ] ;
74+ } ;
75+ } ;
3176 } ;
3277 } )
3378
You can’t perform that action at this time.
0 commit comments