1 2 3
{ lib, ... }: { config._module.freeformType = with lib.types; attrsOf (either str (attrsOf str)); }