mirror of
https://github.com/EdenQwQ/nixos.git
synced 2025-12-26 10:14:58 +08:00
update flakes; add ai.nix
This commit is contained in:
parent
293200459c
commit
7a5078a8c6
8 changed files with 102 additions and 159 deletions
13
home/programs/utils/ai.nix
Normal file
13
home/programs/utils/ai.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs.gemini-cli = {
|
||||
enable = true;
|
||||
settings = {
|
||||
theme = "ANSI";
|
||||
vimMode = true;
|
||||
preferredEditor = "nvim";
|
||||
autoAccept = false;
|
||||
};
|
||||
};
|
||||
home.packages = with pkgs; [ qwen-code ];
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
{ pkgs, config, ... }:
|
||||
{
|
||||
home = {
|
||||
packages = with pkgs; [ claude-code ];
|
||||
sessionVariables = {
|
||||
ANTHROPIC_BASE_URL = "https://anyrouter.top";
|
||||
ANTHROPIC_AUTH_TOKEN = "$(cat ${config.age.secrets.anyrouter_token.path})";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
./eye-candy.nix
|
||||
./obs.nix
|
||||
./music.nix
|
||||
./claude-code.nix
|
||||
./ai.nix
|
||||
];
|
||||
programs.pay-respects.enable = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@
|
|||
isDefault = true;
|
||||
}
|
||||
"everforest"
|
||||
"catppuccin-frappe"
|
||||
"nord"
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue