update flakes; add ai.nix

This commit is contained in:
EdenQwQ 2025-08-22 14:46:32 +08:00
parent 293200459c
commit 7a5078a8c6
8 changed files with 102 additions and 159 deletions

View 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 ];
}

View file

@ -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})";
};
};
}

View file

@ -50,7 +50,7 @@
./eye-candy.nix
./obs.nix
./music.nix
./claude-code.nix
./ai.nix
];
programs.pay-respects.enable = true;
}

View file

@ -5,6 +5,6 @@
isDefault = true;
}
"everforest"
"catppuccin-frappe"
"nord"
];
}