anchor.diff:          }
   
         // optionalAttrs (cfg.client.enable || cfg.server.enable)
  -        { nfs_kernel_statd =
  -          { name = "nfs-kernel-statd";
  -
  -            description = "Kernel NFS server - Network Status Monitor";
  +        { statd =
  +          { description = "Kernel NFS server - Network Status Monitor";
   
               startOn = if cfg.server.enable then
  -                "started nfs-kernel-mountd and started nfs-kernel-nfsd"
  +                "started mountd and started nfsd"
                 else
                   "started portmap";
  -            stopOn = "stopping nfs-kernel-nfsd or stopping portmap";
  +            stopOn = "stopping nfsd or stopping portmap";
   
               preStart =
                 ''
  
positive.code:   config =
    mkAssert
      (cfg.client.enable || cfg.server.enable -> config.services.portmap.enable) "
      Please enable portmap (services.portmap.enable) to use nfs-kernel.
    " {
  
      services.portmap.enable = mkAlways (cfg.client.enable || cfg.server.enable);
  
negative.code:         }
  
        // optionalAttrs cfg.server.enable
          { mountd =
            { description = "Kernel NFS server - mount daemon";
  
              startOn = "started nfsd";
              stopOn = "stopped statd";
  
              daemonType = "fork";
  
  