anchor.diff:  
               description = "Kernel NFS server - mount daemon";
   
  -            startOn = "starting nfs-kernel-exports or started portmap";
  +            startOn = "started nfs-kernel-nfsd";
               stopOn = "stopped nfs-kernel-statd";
   
               daemonType = "fork";
  
positive.code: 
                  # Create a state directory required by NFSv4.
                  mkdir -p /var/lib/nfs/v4recovery
  
                  ${pkgs.sysvtools}/bin/mountpoint -q /proc/fs/nfsd \
                  || ${config.system.sbin.mount}/bin/mount -t nfsd none /proc/fs/nfsd
  
negative.code: 
        I've not tried with nfsd alone. So I add what I tried, with nfs_acl too.
      */
      # boot.kernelModules = mkIf cfg.server.enable [ "nfsd" "nfs_acl" ];
  
      jobs =
        optionalAttrs cfg.server.enable
  