docs: Show equivalent for partitionedAttrs

Add a concise example showing what partitionedAttrs expands to, making
it clearer how the shorthand relates to the underlying implementation.
This commit is contained in:
Robert Hensing 2025-10-20 10:25:16 +02:00
parent 4e627ac2e1
commit e879f7348f

View file

@ -105,6 +105,10 @@ in
The flake attributes are overridden with `lib.mkForce` priority.
See the `partitions` options to understand the purpose.
Example: `partitionedAttrs.devShells = "dev";`
Equivalent: `flake.devShells = lib.mkForce config.partitions.dev.module.flake.devShells;`
'';
example = {
"devShells" = "dev";