anchor.diff:    config = mkIf (any (fs: fs == "nfs" || fs == "nfs4") config.boot.supportedFilesystems) {
   
       services.rpcbind.enable = true;
  +
  +    services.nfs.idmapd.settings = {
  +      General = mkMerge [
  +        { Pipefs-Directory = rpcMountpoint; }
  +        (mkIf (config.networking.domain != null) { Domain = config.networking.domain; })
  +      ];
  +      Mapping = {
  +        Nobody-User = "nobody";
  +        Nobody-Group = "nogroup";
  +      };
  +      Translation = {
  +        Method = "nsswitch";
  +      };
  +    };
   
       system.fsPackages = [ pkgs.nfs-utils ];
   
  
positive.code: 
    options = {
      services.nfs = {
        extraConfig = mkOption {
          type = types.lines;
          default = "";
  
negative.code: 
    rpcMountpoint = "${nfsStateDir}/rpc_pipefs";
  
    format = pkgs.formats.ini {};
  
    idmapdConfFile = format.generate "idmapd.conf" cfg.idmapd.settings;
    nfsConfFile = pkgs.writeText "nfs.conf" cfg.extraConfig;
    requestKeyConfFile = pkgs.writeText "request-key.conf" ''
      create id_resolver * * ${pkgs.nfs-utils}/bin/nfsidmap -t 600 %k %d
  