# Nix side of #ProfileLink: users write { name, url }, the app gets "name,url".{lib}:{type=lib.types.submodule{options={name=lib.mkOption{type=lib.types.strMatching"[^,]+";description="Display name for the link";};url=lib.mkOption{type=lib.types.str;description="URL for the link";};};};apply=link:"${link.name},${link.url}";}