Dead Simple NFS NixOS to MacOS Client
Creates /nfs folder with proper permissions
sudo mkdir -p /nfs
sudo chown -R 501:20 /nfs
/etc/nixos/configuration.conf
services.nfs.server.enable = true;
services.nfs.server.exports = ''
/nfs *(rw,async,no_subtree_check,fsid=0,insecure,no_root_squash)
'';
To diagnose problems
journalctl -u nfs-server -f
Open finder, go > connect to server
nfs://nixos/nfs