flake + oc

This commit is contained in:
2026-01-27 18:03:24 +00:00
parent 9c5ee08284
commit 95aef784e1
2 changed files with 34 additions and 30 deletions

54
flake.lock generated
View File

@@ -106,11 +106,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1768923567, "lastModified": 1769524058,
"narHash": "sha256-GVJ0jKsyXLuBzRMXCDY6D5J8wVdwP1DuQmmvYL/Vw/Q=", "narHash": "sha256-zygdD6X1PcVNR2PsyK4ptzrVEiAdbMqLos7utrMDEWE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "00395d188e3594a1507f214a2f15d4ce5c07cb28", "rev": "71a3fc97d80881e91710fe721f1158d3b96ae14d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -272,11 +272,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1769442288, "lastModified": 1769450270,
"narHash": "sha256-p+Xqr+P22TYW2RqbwccSd4UlUDEwl7PnoW3qiH8wVoE=", "narHash": "sha256-pdVm/zJazDUAasTyHFX/Pbrlk9Upjxi0yzgn7GjGe4g=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "384786dc70c4992643f916c7e57f378714fec4f1", "rev": "a10c1e8f5ad2589414407f4851c221cb66270257",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -288,11 +288,11 @@
"homebrew-cask": { "homebrew-cask": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1769444801, "lastModified": 1769534692,
"narHash": "sha256-KEWFdsEXAFT+mIW44AN/r6I5cPm0cBb6EOz16md2XIk=", "narHash": "sha256-B0Vhq1P8rba4cIru7an0FrMRoIrCV0PK+HnFxZ4ju/Q=",
"owner": "homebrew", "owner": "homebrew",
"repo": "homebrew-cask", "repo": "homebrew-cask",
"rev": "129c83684eabebce9208f34aec2df2ea40eff0dd", "rev": "dee3ba39728c88775e89dc3bc8314e6d09d4e815",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -304,11 +304,11 @@
"homebrew-core": { "homebrew-core": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1769445310, "lastModified": 1769535590,
"narHash": "sha256-p3jnjCR+/xrBiLr5iTw6k5hMzss2oJJsQQb7GAZ6dBo=", "narHash": "sha256-IlmKvq8JUpWZ9c7BVTgSHSRvYapeAisTEG3pCycWPfw=",
"owner": "homebrew", "owner": "homebrew",
"repo": "homebrew-core", "repo": "homebrew-core",
"rev": "1b450572c8eba2e53598b76671aacabacdc65fe3", "rev": "e245e8176cff68ef0686a690fa545a480c7fa541",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -359,11 +359,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1769437786, "lastModified": 1769525659,
"narHash": "sha256-Ny7aPW+O3eUTGKkSG9JQi5JJIaQICkm5/6nOCR6UdDk=", "narHash": "sha256-f0ezuyjAwqsAUtciG51zbjN7pmh3AU4WBK1/D+H44+M=",
"owner": "numtide", "owner": "numtide",
"repo": "llm-agents.nix", "repo": "llm-agents.nix",
"rev": "29deeefa741a43bcf954529a672ffdbd3d3993a7", "rev": "a8fbb6f415d49b77869b51539b56d8afec8d4def",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -466,11 +466,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1769092226, "lastModified": 1769433173,
"narHash": "sha256-6h5sROT/3CTHvzPy9koKBmoCa2eJKh4fzQK8eYFEgl8=", "narHash": "sha256-Gf1dFYgD344WZ3q0LPlRoWaNdNQq8kSBDLEWulRQSEs=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b579d443b37c9c5373044201ea77604e37e748c8", "rev": "13b0f9e6ac78abbbb736c635d87845c4f4bee51b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -482,11 +482,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1769445096, "lastModified": 1769535564,
"narHash": "sha256-v8SI9D/Ugt+WXnfkiohdIGDKuRvlRow0Cc5x/P0RFm0=", "narHash": "sha256-CCgkZI2G9vMJUmLYGY9TEPax3kduDA1ED/tdMJCd8F0=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6a72d8663485a681895e17886de2baf4cfe4b143", "rev": "1ee98906775c8456b4fffd34ec9ae65cd83df1e3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -613,11 +613,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1769314333, "lastModified": 1769469829,
"narHash": "sha256-+Uvq9h2eGsbhacXpuS7irYO7fFlz514nrhPCSTkASlw=", "narHash": "sha256-wFcr32ZqspCxk4+FvIxIL0AZktRs6DuF8oOsLt59YBU=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "2eb9eed7ef48908e0f02985919f7eb9d33fa758f", "rev": "c5eebd4eb2e3372fe12a8d70a248a6ee9dd02eff",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -725,11 +725,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1769353635, "lastModified": 1769515380,
"narHash": "sha256-J0G1ACrUK29M0THPAsz429eZX07GmR9Bs/b0pB3N0dQ=", "narHash": "sha256-CWWK3PaQ7zhr+Jcf5zyaTR2cfRBXPo09H7+5nWApL8s=",
"owner": "numtide", "owner": "numtide",
"repo": "treefmt-nix", "repo": "treefmt-nix",
"rev": "f46bb205f239b415309f58166f8df6919fa88377", "rev": "9911802c2822def2eec3d22e2cafd1619ede94a5",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -8,12 +8,13 @@
OPENCODE_EXPERIMENTAL_LSP_TOOL = 1; OPENCODE_EXPERIMENTAL_LSP_TOOL = 1;
OPENCODE_ENABLE_EXA = 1; OPENCODE_ENABLE_EXA = 1;
}; };
programs.opencode = { programs.opencode = {
enable = true; enable = true;
package = inputs.llm-agents.packages.${pkgs.stdenv.hostPlatform.system}.opencode; package = inputs.llm-agents.packages.${pkgs.stdenv.hostPlatform.system}.opencode;
settings = { settings = {
model = "opencode/gpt-5-2-codex"; model = "opencode/kimi-k2.5";
small_model = "opencode/glm-4.7"; small_model = "opencode/minimax-m2.1";
theme = "catppuccin"; theme = "catppuccin";
keybinds = { keybinds = {
leader = "ctrl+o"; leader = "ctrl+o";
@@ -28,8 +29,11 @@
}; };
}; };
agent = { agent = {
plan = {
model = "opencode/gpt-5-2-codex";
};
explore = { explore = {
model = "opencode/glm-4.7"; model = "minimax-m2.1";
}; };
}; };
instructions = [ instructions = [