1 { config, lib, ... }: {
3 _file = "optionTypeFile.nix";
5 options.theType = lib.mkOption {
6 type = lib.types.optionType;
9 options.theOption = lib.mkOption {
10 type = config.theType;
14 config.theType = lib.mkMerge [
15 (lib.types.submodule {
16 options.nested = lib.mkOption {
20 (lib.types.submodule {
22 options.nested = lib.mkOption {