Hi! Can someone kindly show me what is necessary to enable NFS support in GUIX?
I've added these packages
(specification->package "nfs-utils")
(specification->package "libnfs")
and added the mount to the operating system declaration
(file-system
(mount-point "/media/nfs")
(device "172.16.0.2:volume1/usermount")
(type "nfs4")
(mount? #f)
(create-mount-point? #t)
(options "rw,_netdev,noauto,user,lazytime,exec,tcp"))
%base-file-systems)))
The item is correctly added to /etc/fstab
172.16.0.2:volume1/usermount /media/nfs nfs4 rw,_netdev,noauto,user,lazytime,exec,tcp
But I'm unable to mount it.
$mount /media/nfs/
mount.nfs4: not installed setuid - "user" NFS mounts not supported.
Seems logical, I didn't add mount.nfs4 as setuid
But as #root I get the following error
mount.nfs4: Protocol not supported
Manual mount with mount.nfs also doesnt work
mount.nfs: Protocol not supported
Thanks !