From 8885ffae6749810e1db948063f1ae438353e2b56 Mon Sep 17 00:00:00 2001 From: alexion Date: Fri, 24 Jul 2026 20:11:07 -0400 Subject: [PATCH] feat(agent-skills): install the wiki and consume vault skills Source the wiki and consume skills from the skills flake, placing them globally so they are active in every project. wiki reads the personal Obsidian vault read-only, and consume mines a source into it, pairing with the Obsidian vault this branch installs. --- flake.lock | 8 ++++---- modules/agents/skills.nix | 13 +++++++++++-- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index 70da8cb..c21e78d 100644 --- a/flake.lock +++ b/flake.lock @@ -494,11 +494,11 @@ ] }, "locked": { - "lastModified": 1784776947, - "narHash": "sha256-IGVn6Z7dfeArObZvz7cLsGqJD8ipP2VkAZC/bOJgvJI=", + "lastModified": 1784937824, + "narHash": "sha256-ncagIdsvmlcJ2DeFHU6R2wBZoOJFDPGVlsmYU8DfImg=", "ref": "refs/heads/main", - "rev": "1caf18d72dd7cad7304401da0db6a6ba853d8827", - "revCount": 5, + "rev": "8c17f3aeb8a9c9d95a1427018a93f7d2cf081238", + "revCount": 15, "type": "git", "url": "https://git.alexion.dev/alexion/skills" }, diff --git a/modules/agents/skills.nix b/modules/agents/skills.nix index ad50170..108e080 100644 --- a/modules/agents/skills.nix +++ b/modules/agents/skills.nix @@ -1,11 +1,20 @@ -{ config, inputs, ... }: +{ + config, + inputs, + pkgs, + ... +}: # Global agent skills, placed under the skills directory so they are active in # every project. let user = config.user.name; # The skills installed globally, as derivations from the skills flake. - skills = [ ]; + # wiki reads the personal Obsidian vault, and consume mines a source into it. + skills = with inputs.skills.packages.${pkgs.stdenv.hostPlatform.system}; [ + wiki + consume + ]; in { home-manager.sharedModules = [ inputs.skills.homeModules.default ];