mirror of
https://github.com/EdenQwQ/nixos.git
synced 2026-02-22 21:05:50 +08:00
23 lines
547 B
Nix
23 lines
547 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
inputs,
|
|
...
|
|
}:
|
|
{
|
|
programs.gemini-cli = {
|
|
enable = true;
|
|
};
|
|
programs.claude-code = {
|
|
enable = true;
|
|
};
|
|
home.sessionVariables = {
|
|
GEMINI_API_KEY = "$(cat ${config.age.secrets.gemini_token.path})";
|
|
ANTHROPIC_AUTH_TOKEN = "$(cat ${config.age.secrets.anyrouter_token.path})";
|
|
ANTHROPIC_BASE_URL = "https://anyrouter.top";
|
|
SILICONFLOW_API_KEY = "$(cat ${config.age.secrets.siliconflow_token.path})";
|
|
};
|
|
home.packages = with pkgs; [
|
|
inputs.kimi-cli.packages.${pkgs.system}.default
|
|
];
|
|
}
|