I currently have a drive mounted into a folder in nextcloud/data/username/files/media but it doesn’t show the contents of the drive the nextcloud gui.
EDIT: The solution is the “External storage support” app, which ist for some reason disabled by default.
I don’t know the name anymore but there is an add in to mount external storage into a user storage