From 80fb31ffe135b3ca6fe7c1e166b5c4a4e01c5f08 Mon Sep 17 00:00:00 2001 From: Martin Pander Date: Thu, 12 Feb 2026 12:56:18 +0100 Subject: [PATCH] Add opencode models --- hosts/work/nixos/configuration.nix | 6 ++++++ modules/home/opencode.nix | 3 +++ 2 files changed, 9 insertions(+) diff --git a/hosts/work/nixos/configuration.nix b/hosts/work/nixos/configuration.nix index 45980b2..26b6b27 100644 --- a/hosts/work/nixos/configuration.nix +++ b/hosts/work/nixos/configuration.nix @@ -18,5 +18,11 @@ shell = pkgs.zsh; }; + fileSystems."/home/pan/pro" = { + device = "/dev/disk/by-uuid/9a37862c-85db-4434-b06a-ec8c2713ecc9"; + fsType = "ext4"; # or xfs, etc. + options = [ "defaults" "nofail" "x-systemd.automount" ]; + }; + system.stateVersion = "25.05"; } diff --git a/modules/home/opencode.nix b/modules/home/opencode.nix index eac1e65..a28181b 100644 --- a/modules/home/opencode.nix +++ b/modules/home/opencode.nix @@ -46,7 +46,10 @@ in }; models = { "claude-opus-4-6-default" = { name = "Opus 4.6"; }; + "claude-sonnet-4-5-20250929" = { name = "Sonnet 4.5"; }; + "claude-haiku-4-5-20251001" = { name = "Haiku 4.5"; }; }; + whitelist = [ "claude-opus-4-6-default" "claude-sonnet-4-5-20250929" "claude-haiku-4-5-20251001"]; }; ollama = { npm = "@ai-sdk/openai-compatible";