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" ];