home-manager/gui: Pull Claude from llm-agents
This commit is contained in:
+3
-3
@@ -72,15 +72,15 @@ Boxes default to `fish`, so pipe multi-statement remote scripts through `bash`,
|
|||||||
`ssh-machine <name> bash -s < script.sh`. If a flaky agent stalls public-key authentication, use
|
`ssh-machine <name> bash -s < script.sh`. If a flaky agent stalls public-key authentication, use
|
||||||
`SSH_AUTH_SOCK= ssh-machine …`.
|
`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
|
that input's tested nixpkgs pin. Run `nix flake update llm-agents`, then switch the system
|
||||||
or home configuration to use the updated package.
|
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 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
|
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
|
`programs.codex.mutableSettings` merges the declared status-line settings into the writable
|
||||||
`~/.codex/config.toml` during activation. Declared values take precedence on each switch;
|
`~/.codex/config.toml` during activation. Declared values take precedence on each switch;
|
||||||
|
|||||||
@@ -212,6 +212,7 @@ in
|
|||||||
|
|
||||||
claude-code = {
|
claude-code = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = inputs.llm-agents.packages.${pkgs.stdenv.hostPlatform.system}.claude-code;
|
||||||
settings = {
|
settings = {
|
||||||
model = "opus";
|
model = "opus";
|
||||||
theme = "auto";
|
theme = "auto";
|
||||||
|
|||||||
Reference in New Issue
Block a user