d030e2109f
... 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
10 lines
144 B
Nix
10 lines
144 B
Nix
{ lib, ... }:
|
|
let
|
|
inherit (lib) mkOption types;
|
|
in
|
|
{
|
|
options.bare-submodule.deep = mkOption {
|
|
type = types.int;
|
|
default = 2;
|
|
};
|
|
}
|