lots of meow

This commit is contained in:
2026-07-18 11:08:32 +01:00
parent 0c6b788345
commit 4da3b6c50f
6 changed files with 127 additions and 67 deletions
+59 -5
View File
@@ -11,11 +11,26 @@
};
};
homeManager =
{ pkgs, ... }:
{ pkgs, config, ... }:
{
home.packages = [
pkgs.claude-code
];
sops = {
secrets.scug-io-ai-key = {
# sopsFile = ./secrets.yaml;
# Decrypted file path (available at runtime, not eval time)
path = config.home.homeDirectory + "/.secrets/scug_io_api_key";
sopsFile = ../secrets/content/secrets.yaml;
};
};
programs.fish = {
shellInit = ''
if test -f "$HOME/.secrets/scug_io_api_key"
set -x SCUG_IO_API_KEY (cat "$HOME/.secrets/scug_io_api_key")
end
'';
};
programs.opencode = {
enable = true;
extraPackages = with pkgs; [
@@ -23,14 +38,53 @@
typescript-language-server
];
context = ''
Instructions:
Instructions:
- Do NOT preemptively load all references - use lazy loading based on actual need
- When loaded, treat content as mandatory instructions that override defaults
- Follow references recursively when needed
- Do NOT preemptively load all references - use lazy loading based on actual need
- When loaded, treat content as mandatory instructions that override defaults
- Follow references recursively when needed
- NO EMOJIS
'';
settings = {
"lsp" = true;
provider.litellm = {
npm = "@ai-sdk/openai-compatible";
name = "LiteLLM";
options = {
baseURL = "https://9f5db439.fwds.scug.io/v1";
apiKey = "{env:SCUG_IO_API_KEY}";
};
models = {
"openai/Qwen3.6-35B-A3B" = {
id = "Qwen3.6-35B-A3B";
name = "Qwen3.6-35B-A3B";
family = "Qwen";
limit = {
context = 262144;
input = 262144;
output = 16384;
};
cost = {
input = 0.0000002;
output = 0.0000006;
};
provider = {
api = "openai";
};
modalities = {
input = [ "text" ];
output = [ "text" ];
};
status = "active";
reasoning = true;
temperature = false;
tool_call = true;
attachment = false;
experimental = false;
};
};
};
};
};
};