From e6ab1b7337f1586d9c20cef14784801003ac0db7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=BF=20corey=20=28they/them=29?= Date: Fri, 27 Feb 2026 21:28:28 -0800 Subject: [PATCH 1/3] Setup Claude Code settings --- modules/home/development.nix | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/modules/home/development.nix b/modules/home/development.nix index a5dd312b..c41f6cf9 100644 --- a/modules/home/development.nix +++ b/modules/home/development.nix @@ -28,6 +28,38 @@ in { (mkIf cfg.ai.enable { programs.claude-code = { enable = true; + settings = { + model = "opus"; + permissions = { + allow = [ + "Bash(grep *)" + "Bash(rg *)" + "Bash(head *)" + "Bash(tail *)" + "Bash(cat *)" + "Bash(ls *)" + "Bash(wc *)" + "Bash(which *)" + "Bash(nix *)" + "Bash(git log *)" + "Bash(git diff *)" + "Bash(git status)" + "Bash(git show *)" + "Bash(git branch *)" + "Bash(* --version)" + "Bash(* --help *)" + ]; + deny = [ + "Bash(git push *)" + "Bash(git reset *)" + "Bash(git checkout *)" + "Bash(rm *)" + "Bash(sudo *)" + "Bash(nixos-rebuild *)" + "Bash(darwin-rebuild *)" + ]; + }; + }; }; }) From 69643d1fa1a98e97b2973b8757459f86726589bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=BF=20corey=20=28they/them=29?= Date: Thu, 5 Mar 2026 08:50:16 -0800 Subject: [PATCH 2/3] Add other bash commands --- modules/home/development.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/home/development.nix b/modules/home/development.nix index c41f6cf9..9bb8701d 100644 --- a/modules/home/development.nix +++ b/modules/home/development.nix @@ -32,6 +32,8 @@ in { model = "opus"; permissions = { allow = [ + "Bash(find *)" + "Bash(echo *)" "Bash(grep *)" "Bash(rg *)" "Bash(head *)" From 67bfb94b6d86441dde0f7e65f401f6978c2f1574 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=BF=20corey=20=28they/them=29?= Date: Thu, 5 Mar 2026 08:50:24 -0800 Subject: [PATCH 3/3] Enable some MCP servers --- modules/home/development.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/home/development.nix b/modules/home/development.nix index 9bb8701d..06eea491 100644 --- a/modules/home/development.nix +++ b/modules/home/development.nix @@ -30,6 +30,8 @@ in { enable = true; settings = { model = "opus"; + enableAllProjectMcpServers = true; + enabledMcpjsonServers = ["linear"]; permissions = { allow = [ "Bash(find *)" @@ -50,6 +52,15 @@ in { "Bash(git branch *)" "Bash(* --version)" "Bash(* --help *)" + "mcp__linear__get_project" + "mcp__linear__list_issues" + "mcp__linear__get_issue" + "mcp__linear__list_comments" + "mcp__linear__extract_images" + "mcp__linear__get_document" + "mcp__figma__get_design_context" + "mcp__figma__get_metadata" + "mcp__figma__get_screenshot" ]; deny = [ "Bash(git push *)"