eval_config
Evaluate final merged values of NixOS/Home Manager configuration attributes using nix eval. Supports single or batch attribute queries with auto-resolved flake URI and mode.
Instructions
Evaluate the final merged value of an attribute in the user's actual NixOS/Home Manager configuration via nix eval (e.g. attr='services.openssh.enable'). flake_uri and mode auto-resolve when omitted. Pass a list of attrs to batch several evals into one call, returning per-attr results. Values above the size guard degrade to attr names / length / a head slice (truncated: true).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attr | Yes | ||
| mode | No | nixos | |
| flake_uri | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||