fixing stuff and updating

This commit is contained in:
MCP Packages
2026-02-04 23:32:50 +01:00
parent e66a06afdf
commit 2cb64f3dea
4 changed files with 19 additions and 16 deletions

View File

@@ -23,16 +23,16 @@ Add this flake to your inputs and apply the overlay:
{ {
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
mcp.url = "github:YOUR-USERNAME/mcp"; # Update with your repo mcp-servers.url = "git+ssh://gitea@gitea.bueso.eu/luis/mcp-servert";
}; };
outputs = { nixpkgs, mcp, ... }: { outputs = { nixpkgs, mcp-servers, ... }: {
# Apply the overlay to get packages in pkgs # Apply the overlay to get packages in pkgs
nixosConfigurations.myhost = nixpkgs.lib.nixosSystem { nixosConfigurations.myhost = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
{ {
nixpkgs.overlays = [ mcp.overlays.default ]; nixpkgs.overlays = [ mcp-servers.overlays.default ];
} }
# Now you can use pkgs.manim-mcp-server # Now you can use pkgs.manim-mcp-server
]; ];
@@ -47,9 +47,9 @@ Access packages without the overlay:
```nix ```nix
{ {
inputs.mcp.url = "github:YOUR-USERNAME/mcp"; mcp-servers.url = "git+ssh://gitea@gitea.bueso.eu/luis/mcp-servert";
outputs = { mcp, ... }: { outputs = { mcp-servers, ... }: {
# Access directly # Access directly
myPackage = mcp.packages.x86_64-linux.manim-mcp-server; myPackage = mcp.packages.x86_64-linux.manim-mcp-server;
}; };

21
flake.lock generated
View File

@@ -82,14 +82,17 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1770196904, "lastModified": 1770110471,
"narHash": "sha256-nV2Sq7+y9ocPln5+zLVjV5cvE4E4i7J6TR88OnIPQdA=", "narHash": "sha256-oAbwoCzhq/skEKzaPTtzCh1Eix2fwfsE2aJmpJZZhx8=",
"path": "/conf/jailed-agents", "ref": "refs/heads/main",
"type": "path" "rev": "9cfc57d6a605466ed9a359abcaee86b4ec9f62e0",
"revCount": 2,
"type": "git",
"url": "ssh://gitea@gitea.bueso.eu/luis/jailed-agents"
}, },
"original": { "original": {
"path": "/conf/jailed-agents", "type": "git",
"type": "path" "url": "ssh://gitea@gitea.bueso.eu/luis/jailed-agents"
} }
}, },
"llm-agents": { "llm-agents": {
@@ -146,11 +149,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1770115704, "lastModified": 1770181073,
"narHash": "sha256-KHFT9UWOF2yRPlAnSXQJh6uVcgNcWlFqqiAZ7OVlHNc=", "narHash": "sha256-ksTL7P9QC1WfZasNlaAdLOzqD8x5EPyods69YBqxSfk=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e6eae2ee2110f3d31110d5c222cd395303343b08", "rev": "bf922a59c5c9998a6584645f7d0de689512e444c",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -13,7 +13,7 @@
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
jailed-agents.url = "path:/conf/jailed-agents"; jailed-agents.url = "git+ssh://gitea@gitea.bueso.eu/luis/jailed-agents";
}; };
outputs = outputs =

View File

@@ -4,7 +4,7 @@
# #
# Usage in a flake: # Usage in a flake:
# { # {
# inputs.mcp.url = "github:your-user/mcp"; # inputs.mcp.url = "gitea@gitea.bueso.eu:luis/mcp-servers.git";
# #
# outputs = { nixpkgs, mcp, ... }: { # outputs = { nixpkgs, mcp, ... }: {
# # Apply the overlay # # Apply the overlay