From d3c9cbb457ae53a1cf4a744e9ce3b345e52a18dc Mon Sep 17 00:00:00 2001 From: Jelle Spreeuwenberg Date: Sat, 19 Sep 2026 10:36:59 +0200 Subject: [PATCH] allow codex llm agents to use binary cache --- flake.lock | 36 +++++++++++++++++++++++++----------- modules/capabilities/ai.nix | 2 +- 2 files changed, 26 insertions(+), 12 deletions(-) diff --git a/flake.lock b/flake.lock index 51a5ef5..362052f 100644 --- a/flake.lock +++ b/flake.lock @@ -157,9 +157,7 @@ "inputs": { "bun2nix": "bun2nix", "flake-parts": "flake-parts_2", - "nixpkgs": [ - "nixpkgs" - ], + "nixpkgs": "nixpkgs", "systems": "systems", "treefmt-nix": "treefmt-nix" }, @@ -240,15 +238,18 @@ }, "nixpkgs": { "locked": { - "lastModified": 1788834054, - "narHash": "sha256-kkWAS4mE+fmi+u3mxwD9/bfX6DGJ49Tv8O9kzN5r0HQ=", - "rev": "e9b9cbecbf6c25ca26c150d78570e6332694a129", - "type": "tarball", - "url": "https://releases.nixos.org/nixpkgs/nixpkgs-26.11pre1069601.e9b9cbecbf6c/nixexprs.tar.xz" + "lastModified": 1789632929, + "narHash": "sha256-RjR8AyvGlWuw16XRj7C1YDEw4E27ciuyPeB2nDMzgTU=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "a32edd7654519351e48e80372a928df336394670", + "type": "github" }, "original": { - "type": "tarball", - "url": "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.xz" + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" } }, "nixpkgs-lib": { @@ -266,6 +267,19 @@ "type": "github" } }, + "nixpkgs_2": { + "locked": { + "lastModified": 1788834054, + "narHash": "sha256-kkWAS4mE+fmi+u3mxwD9/bfX6DGJ49Tv8O9kzN5r0HQ=", + "rev": "e9b9cbecbf6c25ca26c150d78570e6332694a129", + "type": "tarball", + "url": "https://releases.nixos.org/nixpkgs/nixpkgs-26.11pre1069601.e9b9cbecbf6c/nixexprs.tar.xz" + }, + "original": { + "type": "tarball", + "url": "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.xz" + } + }, "noctalia": { "inputs": { "nixpkgs": [ @@ -296,7 +310,7 @@ "nix-index-database": "nix-index-database", "nix-wrapper-modules": "nix-wrapper-modules", "nixos-hardware": "nixos-hardware", - "nixpkgs": "nixpkgs", + "nixpkgs": "nixpkgs_2", "noctalia": "noctalia", "sops-nix": "sops-nix", "walker": "walker" diff --git a/modules/capabilities/ai.nix b/modules/capabilities/ai.nix index 48a14b6..d5e7ad4 100644 --- a/modules/capabilities/ai.nix +++ b/modules/capabilities/ai.nix @@ -102,7 +102,7 @@ in # Node-based Codex plugin hooks and skill scripts need node/npm outside project dev shells. pkgs.nodejs pkgs.python3 - pkgs.llm-agents.codex + inputs.llm-agents.packages.${pkgs.stdenv.hostPlatform.system}.codex pkgs.llm-agents.pi pkgs.llm-agents.claude-code pkgs.llm-agents.agent-deck