Compare commits

..

2 Commits

Author SHA1 Message Date
m3tm3re
4684c5dc3e chore: include local changes and bump home-manager state to 26.05 2026-04-13 19:23:49 +02:00
m3tm3re
55aac2c910 fix: silence nix evaluation warnings for neovim/opencode/system 2026-04-13 19:18:25 +02:00
15 changed files with 147 additions and 87 deletions

7
.pi-lens/cache/jscpd.json vendored Normal file
View File

@@ -0,0 +1,7 @@
{
"success": true,
"clones": [],
"duplicatedLines": 0,
"totalLines": 0,
"percentage": 0
}

3
.pi-lens/cache/jscpd.meta.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"timestamp": "2026-04-13T17:20:59.675Z"
}

9
.pi-lens/cache/knip.json vendored Normal file
View File

@@ -0,0 +1,9 @@
{
"success": false,
"issues": [],
"unusedExports": [],
"unusedFiles": [],
"unusedDeps": [],
"unlistedDeps": [],
"summary": "Failed to parse output"
}

3
.pi-lens/cache/knip.meta.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"timestamp": "2026-04-13T17:21:02.639Z"
}

View File

@@ -0,0 +1 @@
null

View File

@@ -0,0 +1,3 @@
{
"timestamp": "2026-04-13T17:10:08.137Z"
}

3
.pi-lens/cache/todo-baseline.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"items": []
}

View File

@@ -0,0 +1,3 @@
{
"timestamp": "2026-04-13T17:09:05.936Z"
}

6
.pi-lens/turn-state.json Normal file
View File

@@ -0,0 +1,6 @@
{
"files": {},
"turnCycles": 0,
"maxCycles": 3,
"lastUpdated": "2026-04-13T17:21:02.639Z"
}

38
flake.lock generated
View File

@@ -26,14 +26,17 @@
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1775879794,
"narHash": "sha256-4BN5pGaEXREaDi2uZ8hU8nROUZr4ps9TwkN3eb/wMIo=",
"path": "/home/m3tam3re/p/AI/AGENTS",
"type": "path"
"lastModified": 1776092721,
"narHash": "sha256-avV4Snqp0K57I9s8D61+GHlg9DYZFSIvjaS4d4RYpG8=",
"ref": "refs/heads/master",
"rev": "0ad41acb03eee0e22cba611b2171a3d3ee30cb10",
"revCount": 72,
"type": "git",
"url": "https://code.m3ta.dev/m3tam3re/AGENTS"
},
"original": {
"path": "/home/m3tam3re/p/AI/AGENTS",
"type": "path"
"type": "git",
"url": "https://code.m3ta.dev/m3tam3re/AGENTS"
}
},
"base16-schemes": {
@@ -429,14 +432,17 @@
"openspec": "openspec"
},
"locked": {
"lastModified": 1775881067,
"narHash": "sha256-PutNWyXD08PmouVLZBksCLcywHowUE/YrVTNs5Rr6Ls=",
"path": "/home/m3tam3re/p/NIX/nixpkgs",
"type": "path"
"lastModified": 1776099116,
"narHash": "sha256-2Mg1ZVXJSLbNFvpzk2pmkc768pRMXLSJJAOqLdQ65Qg=",
"ref": "refs/heads/master",
"rev": "613e9223e4ffb6cca721d5f6dc5ff0d95ab8993c",
"revCount": 225,
"type": "git",
"url": "https://code.m3ta.dev/m3tam3re/nixpkgs"
},
"original": {
"path": "/home/m3tam3re/p/NIX/nixpkgs",
"type": "path"
"type": "git",
"url": "https://code.m3ta.dev/m3tam3re/nixpkgs"
}
},
"nix-colors": {
@@ -776,16 +782,16 @@
]
},
"locked": {
"lastModified": 1775461158,
"narHash": "sha256-FiQzBj3C0sAnKU+WMktliqt0zM3YQDrgQbner1LOTi8=",
"lastModified": 1775782812,
"narHash": "sha256-m+Ue7FWiTjKMAn1QefAwOMfOb2Vybk0mJPV9zcbkOmE=",
"owner": "anomalyco",
"repo": "opencode",
"rev": "517e6c9aa4c61dbc125e7654fc596f1d529f20d9",
"rev": "877be7e8e04142cd8fbebcb5e6c4b9617bf28cce",
"type": "github"
},
"original": {
"owner": "anomalyco",
"ref": "v1.3.17",
"ref": "v1.4.3",
"repo": "opencode",
"type": "github"
}

View File

@@ -1,4 +1,8 @@
{inputs, ...}: {
{
inputs,
lib,
...
}: {
coding.agents.opencode = {
enable = true;
agentsInput = inputs.agents;
@@ -17,8 +21,45 @@
coding.opencode = {
enable = true;
ohMyOpencodeSettings = {
agents = {
sisyphus.model = "litellm/claude-opus-4-6";
oracle.model = "litellm/claude-sonnet-4-6";
librarian.model = "litellm/claude-sonnet-4-6";
explore.model = "litellm/claude-haiku-4-5";
multimodal-looker.model = "litellm/gpt-5.3-codex";
prometheus.model = "litellm/claude-opus-4-6";
metis.model = "litellm/claude-opus-4-6";
momus.model = "litellm/claude-opus-4-6";
atlas.model = "litellm/claude-sonnet-4-6";
};
categories = {
visual-engineering.model = "zai-coding-plan/glm-5.1";
ultrabrain.model = "litellm/claude-opus-4-6";
deep.model = "litellm/claude-sonnet-4-6";
artistry.model = "zai-coding-plan/glm-5.1";
quick.model = "litellm/claude-haiku-4-5";
unspecified-low.model = "litellm/claude-sonnet-4-6";
unspecified-high.model = "litellm/claude-opus-4-6";
writing.model = "zai-coding-plan/glm-5.1";
};
};
};
# Keep TUI settings in programs.opencode.tui to satisfy OpenCode v1.2.15+.
programs.opencode.tui.theme = "opencode";
# Override legacy default settings to avoid deprecated TUI keys in settings.
programs.opencode.settings = lib.mkForce {
plugin = ["oh-my-openagent"];
formatter = {
alejandra = {
command = ["alejandra" "-q" "-"];
extensions = [".nix"];
};
};
# AZ-Gruppe LiteLLM endpoint + available models
extraSettings = {
provider = {
litellm = {
npm = "@ai-sdk/openai-compatible";
@@ -82,29 +123,4 @@
};
};
};
ohMyOpencodeSettings = {
agents = {
sisyphus.model = "litellm/claude-opus-4-6";
oracle.model = "litellm/claude-sonnet-4-6";
librarian.model = "litellm/claude-sonnet-4-6";
explore.model = "litellm/claude-haiku-4-5";
multimodal-looker.model = "litellm/gpt-5.3-codex";
prometheus.model = "litellm/claude-opus-4-6";
metis.model = "litellm/claude-opus-4-6";
momus.model = "litellm/claude-opus-4-6";
atlas.model = "litellm/claude-sonnet-4-6";
};
categories = {
visual-engineering.model = "zai-coding-plan/glm-5.1";
ultrabrain.model = "litellm/claude-opus-4-6";
deep.model = "litellm/claude-sonnet-4-6";
artistry.model = "zai-coding-plan/glm-5.1";
quick.model = "litellm/claude-haiku-4-5";
unspecified-low.model = "litellm/claude-sonnet-4-6";
unspecified-high.model = "litellm/claude-opus-4-6";
writing.model = "zai-coding-plan/glm-5.1";
};
};
};
}

View File

@@ -19,7 +19,7 @@
# You should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager
# release notes.
home.stateVersion = "24.11"; # Please read the comment before changing.
home.stateVersion = "26.05"; # Updated to adopt HM 26.05 defaults.
# The home.packages option allows you to install Nix packages into your
# environment.

View File

@@ -19,7 +19,7 @@
# You should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager
# release notes.
home.stateVersion = "24.11"; # Please read the comment before changing.
home.stateVersion = "26.05"; # Updated to adopt HM 26.05 defaults.
# The home.packages option allows you to install Nix packages into your
# environment.

View File

@@ -44,7 +44,7 @@
extraServices = {
flatpak.enable = true;
ollama.enable = true;
ollama.enable = false;
podman.enable = true;
virtualisation.enable = true;
};

View File

@@ -27,7 +27,7 @@
temp-packages = final: _prev: {
temp = import inputs.nixpkgs-9e9486b {
system = final.system;
system = final.stdenv.hostPlatform.system;
config.allowUnfree = true;
};
};