mirror of
https://github.com/srid/nixos-config.git
synced 2026-07-16 22:01:33 +08:00
remove
This commit is contained in:
parent
bc6ba430cf
commit
2e1e36520c
9 changed files with 2 additions and 308 deletions
|
|
@ -17,9 +17,7 @@
|
|||
# "nixos-hardware"
|
||||
"nix-index-database"
|
||||
"nixvim"
|
||||
"oc"
|
||||
"nix-agent-wire"
|
||||
"skills"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@
|
|||
package = pkgs.claude-code;
|
||||
|
||||
autoWire.dirs = [
|
||||
flake.inputs.skills.outPath
|
||||
(flake.self.outPath + "/AI")
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,25 +0,0 @@
|
|||
{ flake, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
flake.inputs.oc.homeModules.opencode
|
||||
];
|
||||
|
||||
programs.opencode = {
|
||||
package = flake.inputs.oc.packages.${pkgs.stdenv.hostPlatform.system}.opencode;
|
||||
autoWire.dirs = [
|
||||
flake.inputs.skills.outPath
|
||||
(flake.self.outPath + "/AI")
|
||||
];
|
||||
settings = {
|
||||
model = "anthropic/claude-opus-4-6/max";
|
||||
};
|
||||
};
|
||||
|
||||
# Prevent opencode from delegating to Claude Code when it's installed
|
||||
programs.zsh.initContent = ''
|
||||
export OPENCODE_DISABLE_CLAUDE_CODE=1
|
||||
'';
|
||||
programs.bash.initExtra = ''
|
||||
export OPENCODE_DISABLE_CLAUDE_CODE=1
|
||||
'';
|
||||
}
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
# Juspay LLM provider for opencode (via grid.ai.juspay.net)
|
||||
# Import this module alongside ./default.nix to use Juspay models.
|
||||
{ config, flake, ... }:
|
||||
let
|
||||
inherit (flake) self;
|
||||
in
|
||||
{
|
||||
age.secrets.juspay-anthropic-api-key.file = self + /secrets/juspay-anthropic-api-key.age;
|
||||
|
||||
programs.zsh.initContent = ''
|
||||
export JUSPAY_API_KEY="$(cat "${config.age.secrets.juspay-anthropic-api-key.path}")"
|
||||
'';
|
||||
programs.bash.initExtra = ''
|
||||
export JUSPAY_API_KEY="$(cat "${config.age.secrets.juspay-anthropic-api-key.path}")"
|
||||
'';
|
||||
}
|
||||
|
|
@ -62,9 +62,7 @@ in
|
|||
rust-nix-template = "https://github.com/srid/rust-nix-template.git";
|
||||
# services-flake = "https://github.com/juspay/services-flake.git";
|
||||
process-compose-flake = "https://github.com/Platonic-Systems/process-compose-flake.git";
|
||||
oc = "https://github.com/juspay/oc.git";
|
||||
vira = "https://github.com/juspay/vira.git";
|
||||
skills = "https://github.com/juspay/skills.git";
|
||||
emanote = "https://github.com/srid/emanote.git";
|
||||
unionmount = "https://github.com/srid/unionmount.git";
|
||||
ema = "https://github.com/srid/ema.git";
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@ in
|
|||
"${jumphost-nix}/module.nix"
|
||||
"${homeMod}/agenix.nix"
|
||||
# "${homeMod}/claude-code/juspay.nix" # Disabled: not using Claude Code at Juspay
|
||||
"${homeMod}/opencode"
|
||||
];
|
||||
|
||||
programs.jumphost = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue