From b11c368a82809c0b31566808ab4329dfa34e38b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=BF=20corey=20=28they/them=29?= Date: Fri, 27 Mar 2026 08:49:19 -0700 Subject: [PATCH 1/4] fix(home): remove api key from claude code --- lib/secrets/home.nix | 1 - modules/home/development.nix | 8 -------- 2 files changed, 9 deletions(-) diff --git a/lib/secrets/home.nix b/lib/secrets/home.nix index 5ca04cd9..0da6c71c 100644 --- a/lib/secrets/home.nix +++ b/lib/secrets/home.nix @@ -2,5 +2,4 @@ let keys = with (import ../keys.nix); [home Rhizome]; in { "home/secrets/aichat-env.age".publicKeys = keys; - "home/secrets/claude-code-api-key.age".publicKeys = keys; } diff --git a/modules/home/development.nix b/modules/home/development.nix index c7cf6282..38bf8085 100644 --- a/modules/home/development.nix +++ b/modules/home/development.nix @@ -27,14 +27,6 @@ in { config = lib.mkMerge [ (mkIf cfg.ai.enable { - age.secrets.claude-code-api-key = { - file = ../../home/secrets/claude-code-api-key.age; - }; - - programs.zsh.initExtra = '' - export ANTHROPIC_API_KEY="$(cat ${config.age.secrets.claude-code-api-key.path})" - ''; - programs.claude-code = { enable = true; memory.source = "${llm-profile}/README.md"; From f53190155fef22b104a824af49b5f033c7d9da52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=BF=20corey=20=28they/them=29?= Date: Fri, 27 Mar 2026 08:49:47 -0700 Subject: [PATCH 2/4] fix(home): remove enabledMcpjsonServers --- modules/home/development.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/home/development.nix b/modules/home/development.nix index 38bf8085..56793d1f 100644 --- a/modules/home/development.nix +++ b/modules/home/development.nix @@ -40,7 +40,6 @@ in { model = "opus"; # Disabled in favor of Basic Memory MCP for cross-device access autoMemoryEnabled = false; - enabledMcpjsonServers = ["linear" "figma"]; permissions = { allow = [ # File exploration From c788f3dd8d791b1b1cb2a06a32a642269a2d0fff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=BF=20corey=20=28they/them=29?= Date: Fri, 27 Mar 2026 09:26:46 -0700 Subject: [PATCH 3/4] feat(home): expand graphite allowed commands with aliases --- modules/home/development.nix | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/modules/home/development.nix b/modules/home/development.nix index 56793d1f..a3c1645d 100644 --- a/modules/home/development.nix +++ b/modules/home/development.nix @@ -119,10 +119,41 @@ in { "Bash(gh run list*)" "Bash(gh run view*)" "Bash(gh search:*)" - # Graphite + # Graphite: info "Bash(gt log*)" + "Bash(gt l*)" "Bash(gt ls*)" "Bash(gt status*)" + "Bash(gt info*)" + "Bash(gt children*)" + "Bash(gt parent*)" + # Graphite: navigation + "Bash(gt checkout *)" + "Bash(gt co *)" + "Bash(gt up*)" + "Bash(gt u)" + "Bash(gt u *)" + "Bash(gt down*)" + "Bash(gt d)" + "Bash(gt d *)" + "Bash(gt top*)" + "Bash(gt t)" + "Bash(gt t *)" + "Bash(gt bottom*)" + "Bash(gt b)" + "Bash(gt b *)" + "Bash(gt trunk*)" + # Graphite: workflow + "Bash(gt create *)" + "Bash(gt c *)" + "Bash(gt modify *)" + "Bash(gt m *)" + "Bash(gt submit*)" + "Bash(gt s)" + "Bash(gt s *)" + "Bash(gt ss*)" + "Bash(gt restack*)" + "Bash(gt sync*)" # System "Bash(journalctl:*)" "Bash(mkdir *)" From 8296d3d17082e2ee29955a60fec4f066a2937510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=BF=20corey=20=28they/them=29?= Date: Fri, 27 Mar 2026 09:29:44 -0700 Subject: [PATCH 4/4] feat(home): allow grafana MCP commands --- modules/home/development.nix | 51 ++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/modules/home/development.nix b/modules/home/development.nix index a3c1645d..ee14b85e 100644 --- a/modules/home/development.nix +++ b/modules/home/development.nix @@ -212,6 +212,57 @@ in { "mcp__glyph__aws-knowledge__aws___read_documentation" "mcp__glyph__aws-knowledge__aws___recommend" "mcp__glyph__aws-knowledge__aws___search_documentation" + # MCP: grafana + "mcp__glyph__grafana__add_activity_to_incident" + "mcp__glyph__grafana__alerting_manage_routing" + "mcp__glyph__grafana__alerting_manage_rules" + "mcp__glyph__grafana__create_annotation" + "mcp__glyph__grafana__create_folder" + "mcp__glyph__grafana__create_incident" + "mcp__glyph__grafana__fetch_pyroscope_profile" + "mcp__glyph__grafana__find_error_pattern_logs" + "mcp__glyph__grafana__find_slow_requests" + "mcp__glyph__grafana__generate_deeplink" + "mcp__glyph__grafana__get_alert_group" + "mcp__glyph__grafana__get_annotation_tags" + "mcp__glyph__grafana__get_annotations" + "mcp__glyph__grafana__get_assertions" + "mcp__glyph__grafana__get_current_oncall_users" + "mcp__glyph__grafana__get_dashboard_by_uid" + "mcp__glyph__grafana__get_dashboard_panel_queries" + "mcp__glyph__grafana__get_dashboard_property" + "mcp__glyph__grafana__get_dashboard_summary" + "mcp__glyph__grafana__get_datasource" + "mcp__glyph__grafana__get_incident" + "mcp__glyph__grafana__get_oncall_shift" + "mcp__glyph__grafana__get_panel_image" + "mcp__glyph__grafana__get_sift_analysis" + "mcp__glyph__grafana__get_sift_investigation" + "mcp__glyph__grafana__list_alert_groups" + "mcp__glyph__grafana__list_datasources" + "mcp__glyph__grafana__list_incidents" + "mcp__glyph__grafana__list_loki_label_names" + "mcp__glyph__grafana__list_loki_label_values" + "mcp__glyph__grafana__list_oncall_schedules" + "mcp__glyph__grafana__list_oncall_teams" + "mcp__glyph__grafana__list_oncall_users" + "mcp__glyph__grafana__list_prometheus_label_names" + "mcp__glyph__grafana__list_prometheus_label_values" + "mcp__glyph__grafana__list_prometheus_metric_metadata" + "mcp__glyph__grafana__list_prometheus_metric_names" + "mcp__glyph__grafana__list_pyroscope_label_names" + "mcp__glyph__grafana__list_pyroscope_label_values" + "mcp__glyph__grafana__list_pyroscope_profile_types" + "mcp__glyph__grafana__list_sift_investigations" + "mcp__glyph__grafana__query_loki_logs" + "mcp__glyph__grafana__query_loki_patterns" + "mcp__glyph__grafana__query_loki_stats" + "mcp__glyph__grafana__query_prometheus" + "mcp__glyph__grafana__query_prometheus_histogram" + "mcp__glyph__grafana__search_dashboards" + "mcp__glyph__grafana__search_folders" + "mcp__glyph__grafana__update_annotation" + "mcp__glyph__grafana__update_dashboard" ]; deny = []; };