feat(x1): enable cratedocs-mcp service and update dependencies

- Enabled the cratedocs-mcp service in the x1 configuration.
- Added `cratedocs` as a new flake input and included its modules and overlay.
- Updated multiple flake inputs (`nixpkgs`, `rust-overlay`, etc.) with new revisions.
This commit is contained in:
Harald Hoyer 2025-05-28 09:41:21 +02:00
parent 79a461e88a
commit 36ed41047d
3 changed files with 83 additions and 16 deletions

88
flake.lock generated
View file

@ -70,6 +70,27 @@
"type": "github"
}
},
"cratedocs": {
"inputs": {
"nixpkgs": [
"nixpkgs"
],
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1748369672,
"narHash": "sha256-Mq3JW8ku2TU7WFjynIDmYnUXD1uC3t203gxRWKPSEl4=",
"ref": "refs/heads/main",
"rev": "8fe3cda271173d7dfb30c34a2c7da869af5b2e4a",
"revCount": 32,
"type": "git",
"url": "https://git.hoyer.xyz/harald/cratedocs-mcp.git"
},
"original": {
"type": "git",
"url": "https://git.hoyer.xyz/harald/cratedocs-mcp.git"
}
},
"darwin": {
"inputs": {
"nixpkgs": [
@ -561,7 +582,7 @@
"neovim-flake",
"nixpkgs"
],
"rust-overlay": "rust-overlay"
"rust-overlay": "rust-overlay_2"
},
"locked": {
"lastModified": 1714571717,
@ -579,7 +600,7 @@
},
"nix-darwin": {
"inputs": {
"nixpkgs": "nixpkgs"
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1716329735,
@ -599,7 +620,7 @@
"inputs": {
"brew-src": "brew-src",
"nix-darwin": "nix-darwin",
"nixpkgs": "nixpkgs_2"
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1747444109,
@ -617,15 +638,18 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1687274257,
"narHash": "sha256-TutzPriQcZ8FghDhEolnHcYU2oHIG5XWF+/SUBNnAOE=",
"path": "/nix/store/22qgs3skscd9bmrxv9xv4q5d4wwm5ppx-source",
"rev": "2c9ecd1f0400076a4d6b2193ad468ff0a7e7fdc5",
"type": "path"
"lastModified": 1736320768,
"narHash": "sha256-nIYdTAiKIGnFNugbomgBJR+Xv5F1ZQU+HfaBqJKroC0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "4bc9c909d9ac828a039f288cf872d16d38185db8",
"type": "github"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-25_05": {
@ -673,6 +697,19 @@
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1687274257,
"narHash": "sha256-TutzPriQcZ8FghDhEolnHcYU2oHIG5XWF+/SUBNnAOE=",
"path": "/nix/store/22qgs3skscd9bmrxv9xv4q5d4wwm5ppx-source",
"rev": "2c9ecd1f0400076a4d6b2193ad468ff0a7e7fdc5",
"type": "path"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1746328495,
"narHash": "sha256-uKCfuDs7ZM3QpCE/jnfubTg459CnKnJG/LwqEVEdEiw=",
@ -688,7 +725,7 @@
"type": "github"
}
},
"nixpkgs_3": {
"nixpkgs_4": {
"locked": {
"lastModified": 1748162331,
"narHash": "sha256-rqc2RKYTxP3tbjA+PB3VMRQNnjesrT0pEofXQTrMsS8=",
@ -704,7 +741,7 @@
"type": "github"
}
},
"nixpkgs_4": {
"nixpkgs_5": {
"locked": {
"lastModified": 1733550349,
"narHash": "sha256-NcGumB4Lr6KSDq+nIqXtNA8QwAQKDSZT7N9OTGWbTrs=",
@ -722,7 +759,7 @@
},
"nixsgx-flake": {
"inputs": {
"nixpkgs": "nixpkgs_4",
"nixpkgs": "nixpkgs_5",
"snowfall-lib": "snowfall-lib"
},
"locked": {
@ -771,6 +808,7 @@
"inputs": {
"claude": "claude",
"crane": "crane",
"cratedocs": "cratedocs",
"darwin": "darwin",
"disko": "disko",
"home-manager": "home-manager",
@ -780,9 +818,9 @@
"lanzaboote": "lanzaboote",
"neovim-flake": "neovim-flake",
"nix-homebrew": "nix-homebrew",
"nixpkgs": "nixpkgs_3",
"nixpkgs": "nixpkgs_4",
"nixsgx-flake": "nixsgx-flake",
"rust-overlay": "rust-overlay_2",
"rust-overlay": "rust-overlay_3",
"simple-nixos-mailserver": "simple-nixos-mailserver",
"snowfall-lib": "snowfall-lib_2",
"sops-nix": "sops-nix",
@ -790,6 +828,24 @@
}
},
"rust-overlay": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1743475035,
"narHash": "sha256-uLjVsb4Rxnp1zmFdPCDmdODd4RY6ETOeRj0IkC0ij/4=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "bee11c51c2cda3ac57c9e0149d94b86cc1b00d13",
"type": "github"
},
"original": {
"owner": "oxalica",
"repo": "rust-overlay",
"type": "github"
}
},
"rust-overlay_2": {
"inputs": {
"flake-utils": [
"neovim-flake",
@ -816,7 +872,7 @@
"type": "github"
}
},
"rust-overlay_2": {
"rust-overlay_3": {
"inputs": {
"nixpkgs": [
"nixpkgs"

View file

@ -7,6 +7,11 @@
# NixPkgs Unstable (nixos-unstable)
unstable.url = "github:nixos/nixpkgs/nixos-unstable";
cratedocs = {
url = "git+https://git.hoyer.xyz/harald/cratedocs-mcp.git";
inputs.nixpkgs.follows = "nixpkgs";
};
crane.url = "github:ipetkov/crane/v0.20.3";
rust-overlay = {
url = "github:oxalica/rust-overlay";
@ -98,6 +103,7 @@
sops-nix.nixosModules.sops
disko.nixosModules.disko
simple-nixos-mailserver.nixosModule
cratedocs.nixosModules.default
];
overlays = with inputs; [
@ -105,6 +111,9 @@
(final: prev: {
inherit (claude.packages.${prev.system}) claude-desktop-with-fhs;
})
(final: prev: {
inherit (cratedocs.packages.${prev.system}) cratedocs-mcp;
})
];
outputs-builder = channels: {

View file

@ -7,6 +7,8 @@ with lib.metacfg;
# ./ipu.nix
];
services.cratedocs-mcp.enable = true;
sops.age.sshKeyPaths = [ "/var/lib/secrets/ssh_host_ed25519_key" ];
sops.secrets."wg".sopsFile = ../../../.secrets/x1/files.yaml;
sops.secrets."wg".mode = "0444";