From 1e7c110903739d63fbca4c2af0dc15c47d179b5d Mon Sep 17 00:00:00 2001 From: Martin Pander Date: Wed, 11 Feb 2026 21:17:44 +0100 Subject: [PATCH] Remove test at home --- hosts/home/common.nix | 2 -- modules/home/opencode.nix | 8 ++++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/hosts/home/common.nix b/hosts/home/common.nix index 681de0b..d0a39bf 100644 --- a/hosts/home/common.nix +++ b/hosts/home/common.nix @@ -18,7 +18,5 @@ dot.llm = { enable = true; gemini-cli.enable = true; - opencode.enable = true; - opencode.enableConfig = true; }; } diff --git a/modules/home/opencode.nix b/modules/home/opencode.nix index 5c636ea..f331e4b 100644 --- a/modules/home/opencode.nix +++ b/modules/home/opencode.nix @@ -14,7 +14,7 @@ in config = lib.mkIf cfg.enableConfig { # Declare the sops secret - sops.secrets.langdock-api-key = { + sops.secrets.langdock_api_key = { # Uses defaultSopsFile from secrets.nix }; @@ -30,7 +30,7 @@ in name = "Langdock OpenAI"; options = { baseURL = "https://api.langdock.com/openai/eu/v1"; - apiKey = config.sops.placeholder.langdock-api-key; + apiKey = config.sops.placeholder.langdock_api_key; }; models = { "gpt-5.2" = { name = "GPT-5.2"; }; @@ -41,10 +41,10 @@ in anthropic = { options = { baseURL = "https://api.langdock.com/anthropic/eu/v1"; - apiKey = config.sops.placeholder.langdock-api-key; + apiKey = config.sops.placeholder.langdock_api_key; }; models = { - "Opus 4.6" = { name = "opus-4.6-default"; }; + "claude-opus-4-6-default" = { name = "Opus 4.6"; }; }; }; ollama = {