From 11bde0d90021d64f48705d3594566d7bda5f96e2 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Mon, 16 Mar 2026 17:39:42 -0400 Subject: [PATCH] Restore skills --- flake.lock | 18 ++++++++---------- flake.nix | 1 + modules/home/claude-code/default.nix | 5 ++++- modules/home/opencode/default.nix | 7 +++++-- 4 files changed, 18 insertions(+), 13 deletions(-) diff --git a/flake.lock b/flake.lock index 217eade..4ffcc10 100644 --- a/flake.lock +++ b/flake.lock @@ -892,15 +892,12 @@ } }, "nix-agent-wire": { - "inputs": { - "skills": "skills" - }, "locked": { - "lastModified": 1773694375, - "narHash": "sha256-wk2i1T3b3OMrOwI/ho8M9TEu7A3VU2jkhc9lb6IcF2E=", + "lastModified": 1773696855, + "narHash": "sha256-aeCXYiK/4m0v0AB+qBZqIKVVzBq0nRAcn3VhP9J+8ug=", "owner": "srid", "repo": "nix-agent-wire", - "rev": "ab54edc3de7a44723d91e19f541485856654f85d", + "rev": "194b4cd0fd0f5ec14efc8eda0a3e9ef238810f11", "type": "github" }, "original": { @@ -1214,7 +1211,7 @@ "llm-agents", "nixpkgs" ], - "skills": "skills_2" + "skills": "skills" }, "locked": { "lastModified": 1773689717, @@ -1298,6 +1295,7 @@ "nixpkgs": "nixpkgs_4", "nixvim": "nixvim", "oc": "oc", + "skills": "skills_2", "vira": "vira" } }, @@ -1379,11 +1377,11 @@ }, "skills_2": { "locked": { - "lastModified": 1773689660, - "narHash": "sha256-irGBt9iyjGMa4rgRxnN0UUFYGNGUvWH6DK2hGk+JLpY=", + "lastModified": 1773691921, + "narHash": "sha256-MTBQ/CPmk459d9ypHlL+PtAPsfDdOLHSfRWMhShNflE=", "owner": "juspay", "repo": "skills", - "rev": "765c76941e08b497f0b0472aa9d91cae811df4bc", + "rev": "54d8fdaa92b6400240aced09577da1ccf083617e", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 1a8dab4..26ef454 100644 --- a/flake.nix +++ b/flake.nix @@ -35,6 +35,7 @@ nix-agent-wire.url = "github:srid/nix-agent-wire"; jumphost-nix.url = "github:srid/jumphost-nix"; jumphost-nix.flake = false; + skills.url = "github:juspay/skills"; # Neovim nixvim.url = "github:nix-community/nixvim"; diff --git a/modules/home/claude-code/default.nix b/modules/home/claude-code/default.nix index f7534d8..c158548 100644 --- a/modules/home/claude-code/default.nix +++ b/modules/home/claude-code/default.nix @@ -13,6 +13,9 @@ package = flake.inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.claude; - autoWire.dir = flake.self.outPath + "/AI"; + autoWire.dirs = [ + flake.inputs.skills.outPath + (flake.self.outPath + "/AI") + ]; }; } diff --git a/modules/home/opencode/default.nix b/modules/home/opencode/default.nix index 9c1f36b..d0908ba 100644 --- a/modules/home/opencode/default.nix +++ b/modules/home/opencode/default.nix @@ -2,12 +2,15 @@ { imports = [ flake.inputs.oc.homeModules.default - flake.inputs.nix-agent-wire.homeManagerModules.opencode + flake.inputs.nix-agent-wire.homeModules.opencode ]; programs.opencode = { package = flake.inputs.oc.packages.${pkgs.stdenv.hostPlatform.system}.opencode; - autoWire.dir = flake.self.outPath + "/AI"; + autoWire.dirs = [ + flake.inputs.skills.outPath + (flake.self.outPath + "/AI") + ]; }; programs.zsh.initContent = ''