See [1]
> the same applies to remote file system mounts. If you want them to be mounted only upon access, you will need to use the x-systemd.automount parameters. In addition, you can use the x-systemd.mount-timeout= option to specify how long systemd should wait for the mount command to finish. Also, the _netdev option ensures systemd understands that the mount is network dependent and order it after the network is online.
> You may also specify an idle timeout for a mount with the x-systemd.idle-timeout flag.
[1] https://wiki.archlinux.org/title/Fstab#Automount_with_system...