From 11b2b5cb289dcbe8d2fb1937a9601fe67b256a1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=BF=20corey=20=28they/them=29?= Date: Fri, 6 Mar 2026 18:59:20 -0800 Subject: [PATCH 1/2] feat(home): wire up llm-profile to claude memory --- flake.lock | 17 +++++++++++++++++ flake.nix | 4 ++++ lib/hosts.nix | 3 ++- modules/home/development.nix | 4 ++++ 4 files changed, 27 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index 66aa75f4..ccf3f151 100644 --- a/flake.lock +++ b/flake.lock @@ -236,6 +236,22 @@ "type": "github" } }, + "llm-profile": { + "flake": false, + "locked": { + "lastModified": 1772851397, + "narHash": "sha256-/FNGF3lit4c8bHzTVw5PjVb1tNpM/vI/WMNUkFwfhIw=", + "owner": "stackptr", + "repo": "llm-profile", + "rev": "2810e05cd0513cc9a0105549c7cd571a8e5361bf", + "type": "github" + }, + "original": { + "owner": "stackptr", + "repo": "llm-profile", + "type": "github" + } + }, "nix-darwin": { "inputs": { "nixpkgs": [ @@ -331,6 +347,7 @@ "home-manager": "home-manager", "homebrew-cask": "homebrew-cask", "homebrew-core": "homebrew-core", + "llm-profile": "llm-profile", "nix-darwin": "nix-darwin", "nix-homebrew": "nix-homebrew", "nixos-hardware": "nixos-hardware", diff --git a/flake.nix b/flake.nix index f4054be9..9bb7bf2c 100644 --- a/flake.nix +++ b/flake.nix @@ -61,6 +61,10 @@ url = "github:homebrew/homebrew-cask"; flake = false; }; + llm-profile = { + url = "github:stackptr/llm-profile"; + flake = false; + }; }; outputs = inputs @ {flake-parts, ...}: diff --git a/lib/hosts.nix b/lib/hosts.nix index 3f2420f9..84dd66e7 100644 --- a/lib/hosts.nix +++ b/lib/hosts.nix @@ -8,6 +8,7 @@ inputs @ { nix-homebrew, homebrew-core, homebrew-cask, + llm-profile, zx-dev, disko, golink, @@ -41,7 +42,7 @@ inputs @ { ++ nixpkgs.lib.optionals (hostHomeConfig != null) [hostHomeConfig]; }; home-manager.extraSpecialArgs = { - inherit hostname pkgs-stable showBatteryStatus; + inherit hostname llm-profile pkgs-stable showBatteryStatus; }; }; diff --git a/modules/home/development.nix b/modules/home/development.nix index 63ec24ac..c80bc03c 100644 --- a/modules/home/development.nix +++ b/modules/home/development.nix @@ -1,6 +1,7 @@ { config, lib, + llm-profile, pkgs, ... }: let @@ -28,6 +29,7 @@ in { (mkIf cfg.ai.enable { programs.claude-code = { enable = true; + memory.source = "${llm-profile}/README.md"; mcpServers = { glyph = { type = "http"; @@ -36,6 +38,8 @@ in { }; settings = { model = "opus"; + # Disabled in favor of Basic Memory MCP for cross-device access + autoMemoryEnabled = false; enabledMcpjsonServers = ["linear" "figma"]; permissions = { allow = [ From b55546cc833f57c56702360ece9bf13b5a78a46a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=BF=20corey=20=28they/them=29?= Date: Fri, 6 Mar 2026 19:03:54 -0800 Subject: [PATCH 2/2] allow basic-memory reading --- modules/home/development.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/home/development.nix b/modules/home/development.nix index c80bc03c..fce2df08 100644 --- a/modules/home/development.nix +++ b/modules/home/development.nix @@ -75,6 +75,17 @@ in { "mcp__figma__get_design_context" "mcp__figma__get_metadata" "mcp__figma__get_screenshot" + "mcp__glyph__basic-memory__build_context" + "mcp__glyph__basic-memory__fetch" + "mcp__glyph__basic-memory__list_directory" + "mcp__glyph__basic-memory__list_memory_projects" + "mcp__glyph__basic-memory__read_content" + "mcp__glyph__basic-memory__read_note" + "mcp__glyph__basic-memory__recent_activity" + "mcp__glyph__basic-memory__search" + "mcp__glyph__basic-memory__search_by_metadata" + "mcp__glyph__basic-memory__search_notes" + "mcp__glyph__basic-memory__view_note" ]; deny = []; };