This repository has no description
783 B
34 lines
1{ self, inputs, ... }:
2{
3 perSystem =
4 { pkgs, system, ... }:
5 let
6 claude = inputs.wrappers.lib.wrapModule {
7 imports = [ self.wrapperModules.claude-code ];
8 inherit pkgs;
9
10 claudeMd = ./CLAUDE.md;
11
12 mcpServers = {
13 git-mcp = {
14 command = "${self.packages.${system}.git-mcp}/bin/git-mcp";
15 };
16 tmux-mcp = {
17 command = "${self.packages.${system}.tmux-mcp}/bin/tmux-mcp";
18 };
19 };
20
21 # Seed permission rules from the same set we trust in pi.
22 permissions = {
23 allow = [
24 "Bash(nix build:*)"
25 "Bash(nix eval:*)"
26 "Bash(nix fmt:*)"
27 ];
28 };
29 };
30 in
31 {
32 packages.claude = claude.wrapper;
33 };
34}