mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-12-01 18:33:56 +01:00
* chore(agents): build dsh-nu from its own flake NUR now keeps only dsh, so a plugin release needs `nix flake update dsh-nu` instead of a NUR package update.
36 lines
1022 B
Nix
36 lines
1022 B
Nix
{
|
|
pkgs,
|
|
llm-agents,
|
|
myNurPkgs,
|
|
dsh-nu,
|
|
...
|
|
}:
|
|
let
|
|
agentPackages = llm-agents.packages.${pkgs.stdenv.hostPlatform.system};
|
|
# dsh-nu's flake builds the plugin from its own checkout; this repository
|
|
# supplies the dsh installation it plugs into.
|
|
dshNu = dsh-nu.lib.mkDshNuPackage {
|
|
inherit pkgs;
|
|
dsh = myNurPkgs.dsh;
|
|
};
|
|
in
|
|
{
|
|
home.packages = [
|
|
# Agents
|
|
agentPackages.codex
|
|
agentPackages.opencode2
|
|
agentPackages.pi
|
|
# dsh from nur-packages: llm-agents.nix's dsh cannot boot on nixpkgs node
|
|
# (node-addon-require-builtin probe), this one shims it. The Nushell-only
|
|
# plugin rides in through the package's withPlugins wrapper.
|
|
(myNurPkgs.dsh.withPlugins [ dshNu ])
|
|
|
|
# Docs lookup CLI behind the find-docs skill (agents/skills/find-docs). The skill's flags are
|
|
# written against this package, not against upstream's npx instructions.
|
|
pkgs.ctx7
|
|
|
|
# MCP servers, configured project-scoped in opencode.jsonc / .codex/config.toml
|
|
pkgs.mcp-grafana
|
|
];
|
|
}
|