This process requires access to the Lakka commandline and is also only recommended for those comfortable working in a Linux shell environment.
Create the mount point folder:
Create the mount unit:
Save and exit:
Enter to save, then
CTRL+X to exit
Add this content, replacing placeholders with your IP, username and password information:
[Unit] Description=cifs mount script Requires=network-online.service After=network-online.service Before=retroarch.service [Mount] What=//192.168.0.31/roms Where=/storage/roms/nas Options=username=myusername,password=mypassword,rw Type=cifs [Install] WantedBy=multi-user.target
Enable and start the service:
systemctl enable storage-roms-nas.mount systemctl start storage-roms-nas.mount
If the mount was successful, the volume will be mounted automatically from now on at boot.
NFS works exactly the same, except you have to use: