opt-env-conf-test-0.0.0.2: test_resources/docs/sub-settings/nix-options.nix
{ lib }:
{
foo = lib.mkOption {
default = { };
type = lib.types.submodule {
options = {
bar = lib.mkOption {
default = { };
type = lib.types.submodule {
options = {
quux = lib.mkOption {
default = null;
description = "Example with sub-settings";
type = lib.types.nullOr lib.types.str;
};
};
};
};
};
};
};
}