feat: re-export Hermes skills renderer

This commit is contained in:
m3tam3re
2026-06-13 09:25:40 +02:00
parent 66127c05ea
commit 2ab870db8c
3 changed files with 22 additions and 20 deletions
Generated
+6 -9
View File
@@ -28,17 +28,14 @@
]
},
"locked": {
"lastModified": 1780736323,
"narHash": "sha256-b4CfjbWTT+5Z0XBI2/W2DnybwkYVwLxghCwXVmw9+Iw=",
"ref": "refs/heads/master",
"rev": "b0c832c9e02d8b3d8ad091f022c859382a037afd",
"revCount": 26,
"type": "git",
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/agent-lib"
"lastModified": 1781334874,
"narHash": "sha256-rGXLTREh0mvgSuYMuYf1ciEJ+ez+DyK/c7NfDgFQWEY=",
"path": "/home/m3tam3re/p/NIX/agent-lib",
"type": "path"
},
"original": {
"type": "git",
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/agent-lib"
"path": "/home/m3tam3re/p/NIX/agent-lib",
"type": "path"
}
},
"agents": {
+3 -9
View File
@@ -22,8 +22,8 @@
};
agent-lib = {
# url = "path:/home/m3tam3re/p/NIX/agent-lib";
url = "git+ssh://gitea@code.m3ta.dev/m3tam3re/agent-lib";
url = "path:/home/m3tam3re/p/NIX/agent-lib";
# url = "git+ssh://gitea@code.m3ta.dev/m3tam3re/agent-lib";
inputs.nixpkgs.follows = "nixpkgs";
};
@@ -47,13 +47,7 @@
nur.url = "github:nix-community/NUR";
};
outputs = {
self,
nixpkgs,
...
} @ inputs: let
lib = nixpkgs.lib;
in {
outputs = {self, ...} @ inputs: {
# Home-Manager modules — import in nixos-config via:
# imports = [ inputs.m3ta-home.homeManagerModules.default ];
homeManagerModules = import ./modules {
+13 -2
View File
@@ -1,5 +1,16 @@
# lib/default.nix — Entry point for m3ta-home library functions.
#
# Called by flake.nix: import ./lib { inherit inputs; selfPath = self.outPath; }
# Re-exports mkHome and future library functions.
{inputs, selfPath}: import ./mkHome.nix {inherit inputs selfPath;}
# Re-exports mkHome and focused helpers for consumers that should not depend on
# m3ta-home's implementation inputs directly.
{
inputs,
selfPath,
}: let
mkHomeLib = import ./mkHome.nix {inherit inputs selfPath;};
in
mkHomeLib
// {
mkHermesSkillsDir = {system, ...} @ args:
inputs.agent-lib.lib.${system}.mkHermesSkillsDir (builtins.removeAttrs args ["system"]);
}