If you dont care about permissions, use NFS. If you need protected shares, use SMBv3, force blocking of SMBv1 protocol.
I have a mix of both NFS and SMBv3 shares between NAS, Windows 11, Ubuntu, and MacOS machines. It can be done, not too difficult unless you are trying to mount things weird in proxmox or something.
All of my laptops for my kids use AtlasOS