feat: re-export Hermes skills renderer
This commit is contained in:
Generated
+6
-9
@@ -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": {
|
||||||
|
|||||||
@@ -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
@@ -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"]);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user