From 991ca5ee2a3061dd58592a9fd61a932f8af10e93 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Sun, 15 Nov 2026 15:12:38 +0000 Subject: [PATCH] home-manager/gui: Pull Claude from `llm-agents` --- docs/deployment.md | 6 +++--- home-manager/modules/gui/default.nix | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/deployment.md b/docs/deployment.md index 9a218d1..c31bbd1 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -72,15 +72,15 @@ Boxes default to `fish`, so pipe multi-statement remote scripts through `bash`, `ssh-machine bash -s < script.sh`. If a flaky agent stalls public-key authentication, use `SSH_AUTH_SOCK= ssh-machine …`. -## Codex +## Coding agents -The shared GUI home-manager module installs Codex from the `llm-agents` input, retaining +The shared GUI home-manager module installs Codex and Claude Code from the `llm-agents` input, retaining that input's tested nixpkgs pin. Run `nix flake update llm-agents`, then switch the system or home configuration to use the updated package. The shared cache settings in `lib.my.c.nix.cache` and the flake's `nixConfig` include the [Numtide binary cache](https://github.com/numtide/llm-agents.nix#binary-cache), so -Codex can be downloaded prebuilt. Keep the input's tested nixpkgs pin to preserve cache hits. +both agents can be downloaded prebuilt. Keep the input's tested nixpkgs pin to preserve cache hits. `programs.codex.mutableSettings` merges the declared status-line settings into the writable `~/.codex/config.toml` during activation. Declared values take precedence on each switch; diff --git a/home-manager/modules/gui/default.nix b/home-manager/modules/gui/default.nix index 3bd9bfd..daad826 100644 --- a/home-manager/modules/gui/default.nix +++ b/home-manager/modules/gui/default.nix @@ -212,6 +212,7 @@ in claude-code = { enable = true; + package = inputs.llm-agents.packages.${pkgs.stdenv.hostPlatform.system}.claude-code; settings = { model = "opus"; theme = "auto";