1 { config, lib, ... }: {
3 options.theType = lib.mkOption {
4 type = lib.types.optionType;
7 options.theOption = lib.mkOption {
11 config.theType = lib.mkMerge [
12 (lib.types.submodule {
13 options.int = lib.mkOption {
18 (lib.types.submodule {
19 options.str = lib.mkOption {
25 config.theOption.str = "hello";