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": { "locked": {
"lastModified": 1780736323, "lastModified": 1781334874,
"narHash": "sha256-b4CfjbWTT+5Z0XBI2/W2DnybwkYVwLxghCwXVmw9+Iw=", "narHash": "sha256-rGXLTREh0mvgSuYMuYf1ciEJ+ez+DyK/c7NfDgFQWEY=",
"ref": "refs/heads/master", "path": "/home/m3tam3re/p/NIX/agent-lib",
"rev": "b0c832c9e02d8b3d8ad091f022c859382a037afd", "type": "path"
"revCount": 26,
"type": "git",
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/agent-lib"
}, },
"original": { "original": {
"type": "git", "path": "/home/m3tam3re/p/NIX/agent-lib",
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/agent-lib" "type": "path"
} }
}, },
"agents": { "agents": {
+3 -9
View File
@@ -22,8 +22,8 @@
}; };
agent-lib = { agent-lib = {
# url = "path:/home/m3tam3re/p/NIX/agent-lib"; url = "path:/home/m3tam3re/p/NIX/agent-lib";
url = "git+ssh://gitea@code.m3ta.dev/m3tam3re/agent-lib"; # url = "git+ssh://gitea@code.m3ta.dev/m3tam3re/agent-lib";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
@@ -47,13 +47,7 @@
nur.url = "github:nix-community/NUR"; nur.url = "github:nix-community/NUR";
}; };
outputs = { outputs = {self, ...} @ inputs: {
self,
nixpkgs,
...
} @ inputs: let
lib = nixpkgs.lib;
in {
# Home-Manager modules — import in nixos-config via: # Home-Manager modules — import in nixos-config via:
# imports = [ inputs.m3ta-home.homeManagerModules.default ]; # imports = [ inputs.m3ta-home.homeManagerModules.default ];
homeManagerModules = import ./modules { homeManagerModules = import ./modules {
+13 -2
View File
@@ -1,5 +1,16 @@
# lib/default.nix — Entry point for m3ta-home library functions. # lib/default.nix — Entry point for m3ta-home library functions.
# #
# Called by flake.nix: import ./lib { inherit inputs; selfPath = self.outPath; } # Called by flake.nix: import ./lib { inherit inputs; selfPath = self.outPath; }
# Re-exports mkHome and future library functions. # Re-exports mkHome and focused helpers for consumers that should not depend on
{inputs, selfPath}: import ./mkHome.nix {inherit inputs selfPath;} # 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"]);
}