opencode: use Juspay config via upstream home module

Consume juspay/AI's homeModules.opencode (config only, not the package) on
both zest and pureintent, install the opencode binary from nixpkgs, and
export JUSPAY_API_KEY from the agenix secret into interactive shells.
This commit is contained in:
Sridhar Ratnakumar 2026-06-21 16:59:29 -04:00
parent 1f5fc411ca
commit 7ee4b8800e
5 changed files with 67 additions and 0 deletions

View file

@ -40,6 +40,12 @@
# drishti remote host monitor (home-manager module)
drishti.url = "github:srid/drishti";
# Juspay's AI tooling repo. We consume only its opencode home-manager
# module (config only, not the package) via homeModules.opencode.
juspay-ai.url = "github:juspay/AI";
juspay-ai.inputs.nixpkgs.follows = "nixpkgs";
juspay-ai.inputs.llm-agents.follows = "llm-agents";
# anywhen is NOT a flake input — it's deployed as an incus-pet
# container, with the flake ref passed at deploy time (see
# `just pureintent anywhen-deploy`). The host config doesn't import