nixpkgs/lib/tests/modules/define-bare-submodule-values.nix
Robert Hensing d030e2109f lib.modules: Let module declare options directly in bare submodule
... where a bare submodule is an option that has a type like
`submoduleWith x`, as opposed to `attrsOf (submoduleWith x)`.

This makes migration unnecessary when introducing a freeform type
in an existing option tree.

Closes #146882
2022-03-03 00:28:35 +01:00

5 lines
63 B
Nix

{
bare-submodule.nested = 42;
bare-submodule.deep = 420;
}