Unpin opencode
This commit is contained in:
@@ -52,7 +52,7 @@ in
|
||||
(lib.mkIf cfg.enable {
|
||||
home.packages =
|
||||
(lib.optional cfg.claude-code.enable pkgs.unstable.claude-code) ++
|
||||
(lib.optional cfg.opencode.enable (pkgs.opencode-pinned or pkgs.unstable.opencode)) ++
|
||||
(lib.optional cfg.opencode.enable pkgs.unstable.opencode) ++
|
||||
(lib.optional cfg.gemini-cli.enable pkgs.unstable.gemini-cli) ++
|
||||
(lib.optional cfg.pi.enable inputs.llm-agents.packages.${pkgs.stdenv.hostPlatform.system}.pi) ++
|
||||
(lib.optional (cfg.bubblewrap.enable && pkgs.stdenv.isLinux) pkgs.unstable.bubblewrap);
|
||||
|
||||
@@ -58,7 +58,7 @@ in
|
||||
"claude-sonnet-4-6-default" = { name = "Sonnet 4.6"; };
|
||||
"claude-haiku-4-5-20251001" = { name = "Haiku 4.5"; };
|
||||
};
|
||||
whitelist = ["claude-opus-4-7-default" "claude-opus-4-6-default" "claude-sonnet-4-6-default" "claude-haiku-4-5-20251001"];
|
||||
whitelist = ["claude-opus-4-8-default" "claude-opus-4-7-default" "claude-opus-4-6-default" "claude-sonnet-4-6-default" "claude-haiku-4-5-20251001"];
|
||||
};
|
||||
# ollama = {
|
||||
# npm = "@ai-sdk/openai-compatible";
|
||||
|
||||
@@ -148,6 +148,13 @@ in
|
||||
${lib.optionalString cfg.workMode ''
|
||||
bind C-s display-popup -E "projectSelector"
|
||||
bind C-n display-popup -E -xC -yC -w 95% -h 95% -d "/mnt/c/Users/marti/Documents/notes/Work/" "vim quick_notes.md"
|
||||
bind C-q display-popup -E -xC -yC -w 95% -h 95% " \
|
||||
SESSION_NAME=\$(tmux display-message -p '#S'); \
|
||||
if [ \"\$SESSION_NAME\" = 'misc' ]; then \
|
||||
cd '/mnt/c/Users/marti/Documents/notes/Work/' && vim task_notes.md; \
|
||||
else \
|
||||
cd \"\$HOME/pro/\$SESSION_NAME\" && vim task_notes.md; \
|
||||
fi"
|
||||
bind C-p display-popup -E -xC -yC -w 95% -h 95% -d "/mnt/c/Users/marti/Documents/notes/Work/development/" "vim mbpr.md"
|
||||
''}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user