{ lib, ... }: { options.dendritic.features = lib.mkOption { type = lib.types.attrsOf ( lib.types.submodule ({ name, ... }: { options = { name = lib.mkOption { type = lib.types.str; default = name; }; features = lib.mkOption { type = lib.types.listOf lib.types.str; default = [ ]; }; nixosModules = lib.mkOption { type = lib.types.listOf lib.types.deferredModule; default = [ ]; }; homeModules = lib.mkOption { type = lib.types.listOf lib.types.deferredModule; default = [ ]; }; includeInEmbeddedHomeManager = lib.mkOption { type = lib.types.bool; default = true; }; }; }) ); default = { }; }; }