Skip to content

Commit 784fa1d

Browse files
authored
feat(home): wire up llm-profile to claude memory (#316)
1 parent 9b1edce commit 784fa1d

4 files changed

Lines changed: 38 additions & 1 deletion

File tree

‎flake.lock‎

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎flake.nix‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@
6161
url = "github:homebrew/homebrew-cask";
6262
flake = false;
6363
};
64+
llm-profile = {
65+
url = "github:stackptr/llm-profile";
66+
flake = false;
67+
};
6468
};
6569

6670
outputs = inputs @ {flake-parts, ...}:

‎lib/hosts.nix‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ inputs @ {
88
nix-homebrew,
99
homebrew-core,
1010
homebrew-cask,
11+
llm-profile,
1112
zx-dev,
1213
disko,
1314
golink,
@@ -41,7 +42,7 @@ inputs @ {
4142
++ nixpkgs.lib.optionals (hostHomeConfig != null) [hostHomeConfig];
4243
};
4344
home-manager.extraSpecialArgs = {
44-
inherit hostname pkgs-stable showBatteryStatus;
45+
inherit hostname llm-profile pkgs-stable showBatteryStatus;
4546
};
4647
};
4748

‎modules/home/development.nix‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
config,
33
lib,
4+
llm-profile,
45
pkgs,
56
...
67
}: let
@@ -28,6 +29,7 @@ in {
2829
(mkIf cfg.ai.enable {
2930
programs.claude-code = {
3031
enable = true;
32+
memory.source = "${llm-profile}/README.md";
3133
mcpServers = {
3234
glyph = {
3335
type = "http";
@@ -36,6 +38,8 @@ in {
3638
};
3739
settings = {
3840
model = "opus";
41+
# Disabled in favor of Basic Memory MCP for cross-device access
42+
autoMemoryEnabled = false;
3943
enabledMcpjsonServers = ["linear" "figma"];
4044
permissions = {
4145
allow = [
@@ -75,6 +79,17 @@ in {
7579
"mcp__figma__get_design_context"
7680
"mcp__figma__get_metadata"
7781
"mcp__figma__get_screenshot"
82+
"mcp__glyph__basic-memory__build_context"
83+
"mcp__glyph__basic-memory__fetch"
84+
"mcp__glyph__basic-memory__list_directory"
85+
"mcp__glyph__basic-memory__list_memory_projects"
86+
"mcp__glyph__basic-memory__read_content"
87+
"mcp__glyph__basic-memory__read_note"
88+
"mcp__glyph__basic-memory__recent_activity"
89+
"mcp__glyph__basic-memory__search"
90+
"mcp__glyph__basic-memory__search_by_metadata"
91+
"mcp__glyph__basic-memory__search_notes"
92+
"mcp__glyph__basic-memory__view_note"
7893
];
7994
deny = [];
8095
};

0 commit comments

Comments
 (0)