add openrouter api key

This commit is contained in:
EdenQwQ 2026-04-17 11:57:37 +08:00
parent a5ee349862
commit b445216edd
3 changed files with 5 additions and 0 deletions

View file

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

View file

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

View file

@ -12,6 +12,7 @@ let
"anyrouter_token"
"kimi_token"
"telegram_bot_token"
"openrouter_token"
];
in
builtins.listToAttrs (