From 4c2304d8a4c62c15b24d7ea48a961a01145a1a1b Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Wed, 18 Mar 2026 09:16:12 -0400 Subject: [PATCH] claude: direct anthropic for now --- modules/home/claude-code/default.nix | 2 +- modules/home/opencode/default.nix | 5 +++++ modules/home/work/juspay.nix | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/modules/home/claude-code/default.nix b/modules/home/claude-code/default.nix index c158548..2843869 100644 --- a/modules/home/claude-code/default.nix +++ b/modules/home/claude-code/default.nix @@ -1,7 +1,7 @@ { flake, pkgs, ... }: { imports = [ - flake.inputs.nix-agent-wire.homeManagerModules.claude-code + flake.inputs.nix-agent-wire.homeModules.claude-code ]; home.packages = with pkgs; [ diff --git a/modules/home/opencode/default.nix b/modules/home/opencode/default.nix index d0908ba..5da3ac2 100644 --- a/modules/home/opencode/default.nix +++ b/modules/home/opencode/default.nix @@ -1,10 +1,15 @@ { config, flake, pkgs, ... }: +let + inherit (flake) self; +in { imports = [ flake.inputs.oc.homeModules.default flake.inputs.nix-agent-wire.homeModules.opencode ]; + age.secrets.juspay-anthropic-api-key.file = self + /secrets/juspay-anthropic-api-key.age; + programs.opencode = { package = flake.inputs.oc.packages.${pkgs.stdenv.hostPlatform.system}.opencode; autoWire.dirs = [ diff --git a/modules/home/work/juspay.nix b/modules/home/work/juspay.nix index 27c01a2..7112b60 100644 --- a/modules/home/work/juspay.nix +++ b/modules/home/work/juspay.nix @@ -9,7 +9,8 @@ in { imports = [ "${jumphost-nix}/module.nix" - "${homeMod}/claude-code/juspay.nix" + "${homeMod}/agenix.nix" + # "${homeMod}/claude-code/juspay.nix" # Disabled: not using Claude Code at Juspay "${homeMod}/opencode" ];