mirror of
https://github.com/EdenQwQ/nixos.git
synced 2026-01-28 19:07:15 +08:00
21 lines
532 B
Nix
21 lines
532 B
Nix
{ pkgs, config, ... }:
|
|
{
|
|
programs.gemini-cli = {
|
|
enable = true;
|
|
settings = {
|
|
theme = "ANSI";
|
|
vimMode = true;
|
|
preferredEditor = "nvim";
|
|
autoAccept = false;
|
|
};
|
|
};
|
|
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";
|
|
};
|
|
home.packages = with pkgs; [ qwen-code ];
|
|
}
|