initial commit
This commit is contained in:
27
devshells/default.nix
Normal file
27
devshells/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
{
|
||||
pkgs,
|
||||
system,
|
||||
jailed-agents,
|
||||
mcp-servers,
|
||||
}:
|
||||
pkgs.mkShell {
|
||||
packages =
|
||||
with pkgs;
|
||||
[
|
||||
nixfmt-rfc-style
|
||||
nil
|
||||
nix-tree
|
||||
(jailed-agents.lib.${system}.makeJailed system {
|
||||
agentTool = "opencode";
|
||||
extraPkgs =
|
||||
(with pkgs; [ mcp-nixos ])
|
||||
++ (with mcp-servers.packages.${system}; [ duckduckgo-mcp-server ]);
|
||||
})
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
echo "Nix packages development environment"
|
||||
echo "Available tools: nixfmt-rfc-style, nil, nix-tree, opencode (jailed agent)"
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user