anchor.diff:  with lib;
   
   let
  -
  -  locatedb = "/var/cache/locatedb";
  -
  -in
  -
  -{
  +  cfg = config.services.locate;
  +in {
   
     ###### interface
   
  
positive.code:         '';
        };
  
      };
  
    };
  
negative.code:         path  = [ pkgs.su ];
          script =
            ''
              mkdir -m 0755 -p $(dirname ${toString cfg.output})
              exec updatedb \
              --localuser=${cfg.localuser} \
              --output=${toString cfg.output} ${concatStringsSep " " cfg.extraFlags}
            '';
          serviceConfig.Nice = 19;
          serviceConfig.IOSchedulingClass = "idle";
  