Compare commits
No commits in common. "f302514403e9f86e208d341ea766e23a7f144e35" and "7303969233aec9a6a48546dfd561dc2263be72a3" have entirely different histories.
f302514403
...
7303969233
6 changed files with 7 additions and 18 deletions
|
@ -12,7 +12,7 @@ in
|
|||
{
|
||||
systemd.user.sessionVariables = {
|
||||
EDITOR = lib.mkForce "emacsclient -c";
|
||||
OPENROUTER_API_KEY_PATH = age.secrets.openrouter-api-key.path;
|
||||
OPENAI_API_KEY_PATH = age.secrets.chatgpt-token.path;
|
||||
};
|
||||
programs.emacs = {
|
||||
enable = true;
|
||||
|
@ -50,7 +50,6 @@ in
|
|||
math-preview
|
||||
emacs-lsp-booster
|
||||
texlive.combined.scheme-full
|
||||
aider-chat-full
|
||||
]
|
||||
++ (with hunspellDicts; [
|
||||
en_US-large
|
||||
|
|
|
@ -1032,22 +1032,13 @@ This is meant to be an helper to be called from the window manager."
|
|||
(:map org-mode-map
|
||||
(("M-p" . org-download-clipboard))))
|
||||
|
||||
(use-package aidermacs
|
||||
:bind (("C-c A" . aidermacs-transient-menu))
|
||||
:init
|
||||
(require 'f)
|
||||
(setenv "OPENROUTER_API_KEY" (f-read-text (getenv "OPENROUTER_API_KEY_PATH")))
|
||||
:custom
|
||||
(aidermacs-use-architect-mode t)
|
||||
(aidermacs-default-model "openrouter/deepseek/deepseek-chat-v3-0324"))
|
||||
|
||||
(use-package gptel
|
||||
:custom
|
||||
(gptel-model 'google/gemini-2.5-flash-preview)
|
||||
(gptel-backend (gptel-make-openai "OpenRouter"
|
||||
:host "openrouter.ai"
|
||||
:endpoint "/api/v1/chat/completions"
|
||||
:key (lambda () (require 'f) (f-read-text (getenv "OPENROUTER_API_KEY_PATH")))
|
||||
:key (lambda () (require 'f) (f-read-text (getenv "OPENAI_API_KEY_PATH")))
|
||||
:stream t
|
||||
:models '(google/gemini-2.5-flash-preview))
|
||||
)
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
];
|
||||
secrets = {
|
||||
"deltaflyer-wireguard-private-key" = { };
|
||||
"openrouter-api-key".owner = "ccr";
|
||||
"chatgpt-token".owner = "ccr";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -54,7 +54,7 @@
|
|||
];
|
||||
secrets = {
|
||||
"kirk-wireguard-private-key" = { };
|
||||
"openrouter-api-key".owner = "ccr";
|
||||
"chatgpt-token".owner = "ccr";
|
||||
"cachix-personal-token".owner = "ccr";
|
||||
"git-workspace-tokens".owner = "ccr";
|
||||
"autistici-password".owner = "ccr";
|
||||
|
@ -81,7 +81,7 @@
|
|||
];
|
||||
secrets = {
|
||||
"picard-wireguard-private-key" = { };
|
||||
"openrouter-api-key".owner = "ccr";
|
||||
"chatgpt-token".owner = "ccr";
|
||||
"cachix-personal-token".owner = "ccr";
|
||||
"git-workspace-tokens".owner = "ccr";
|
||||
"autistici-password".owner = "ccr";
|
||||
|
@ -143,7 +143,7 @@
|
|||
];
|
||||
secrets = {
|
||||
"pike-wireguard-private-key" = { };
|
||||
"openrouter-api-key".owner = "ccr";
|
||||
"chatgpt-token".owner = "ccr";
|
||||
"cachix-personal-token".owner = "ccr";
|
||||
"git-workspace-tokens".owner = "ccr";
|
||||
"autistici-password".owner = "ccr";
|
||||
|
|
|
@ -208,7 +208,6 @@ let
|
|||
visual-replace
|
||||
org-super-agenda
|
||||
tidal
|
||||
aidermacs
|
||||
# org-re-reveal # FIXME very not nice hash mismatch when building
|
||||
]
|
||||
)
|
||||
|
|
|
@ -84,7 +84,7 @@ with keys.users;
|
|||
ccr-ssh
|
||||
sisko
|
||||
];
|
||||
"openrouter-api-key.age".publicKeys = [
|
||||
"chatgpt-token.age".publicKeys = [
|
||||
ccr-ssh
|
||||
kirk
|
||||
mothership
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue