mirror of
https://github.com/EdenQwQ/nixos.git
synced 2026-05-01 10:56:02 +08:00
add openrouter api key
This commit is contained in:
parent
a5ee349862
commit
b445216edd
3 changed files with 5 additions and 0 deletions
|
|
@ -18,10 +18,13 @@
|
|||
SILICONFLOW_API_KEY = "$(cat ${config.age.secrets.siliconflow_token.path})";
|
||||
MOONSHOT_API_KEY = "$(cat ${config.age.secrets.kimi_token.path})";
|
||||
TELEGRAM_BOT_TOKEN = "$(cat ${config.age.secrets.telegram_bot_token.path})";
|
||||
OPENROUTER_API_KEY = "$(cat ${config.age.secrets.openrouter_token.path})";
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
inputs.kimi-cli.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||
#inputs.airi.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||
opencode
|
||||
codex
|
||||
gitingest
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,5 +10,6 @@
|
|||
anyrouter_token.file = ./anyrouter_token.age;
|
||||
kimi_token.file = ./kimi_token.age;
|
||||
telegram_bot_token.file = ./telegram_bot_token.age;
|
||||
openrouter_token.file = ./openrouter_token.age;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ let
|
|||
"anyrouter_token"
|
||||
"kimi_token"
|
||||
"telegram_bot_token"
|
||||
"openrouter_token"
|
||||
];
|
||||
in
|
||||
builtins.listToAttrs (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue