harness: enable nix-command + flakes for all agents
This commit is contained in:
parent
15f141801b
commit
85c0df2e64
1 changed files with 8 additions and 0 deletions
|
|
@ -179,6 +179,14 @@
|
||||||
|
|
||||||
boot.isNspawnContainer = true;
|
boot.isNspawnContainer = true;
|
||||||
|
|
||||||
|
# Every agent gets flakes + the modern `nix` CLI out of the box.
|
||||||
|
# Equivalent to passing `--extra-experimental-features 'nix-command
|
||||||
|
# flakes'` on every invocation. Agents shell out to `nix build` /
|
||||||
|
# `nix flake` constantly (devshells, ad-hoc evals, fetching their
|
||||||
|
# own MCP-server flakes); without this they hit the "experimental
|
||||||
|
# feature not enabled" wall on the first try.
|
||||||
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
# `claude-code` is unfree. Each per-agent container's nixosConfiguration
|
# `claude-code` is unfree. Each per-agent container's nixosConfiguration
|
||||||
# evaluates its own `nixpkgs` instance, so the operator's host-level
|
# evaluates its own `nixpkgs` instance, so the operator's host-level
|
||||||
# `nixpkgs.config.allowUnfreePredicate` does not propagate into here —
|
# `nixpkgs.config.allowUnfreePredicate` does not propagate into here —
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue