anchor.diff:      preStart = ''
         ipfs --local config Addresses.API ${cfg.apiAddress}
         ipfs --local config Addresses.Gateway ${cfg.gatewayAddress}
  -    '' + optionalString cfg.autoMount ''
  +    '' + optionalString false/*cfg.autoMount*/ ''
         ipfs --local config Mounts.FuseAllowOther --json true
  -      mkdir -p $(ipfs --local config Mounts.IPFS)
  -      mkdir -p $(ipfs --local config Mounts.IPNS)
  +      ipfs --local config Mounts.IPFS ${cfg.ipfsMountDir}
  +      ipfs --local config Mounts.IPNS ${cfg.ipnsMountDir}
       '' + concatStringsSep "\n" (collect
             isString
             (mapAttrsRecursive
  
positive.code: 
        preStart = ''
          install -m 0755 -o ${cfg.user} -g ${cfg.group} -d ${cfg.dataDir}
        '';
        script = ''
          if [[ ! -f ${cfg.dataDir}/config ]]; then
  
negative.code:   cfg = config.services.ipfs;
  
    ipfsFlags = toString ([
      #(optionalString  cfg.autoMount                   "--mount")
      (optionalString  cfg.autoMigrate                 "--migrate")
      (optionalString  cfg.enableGC                    "--enable-gc")
      (optionalString (cfg.serviceFdlimit != null)     "--manage-fdlimit=false")
  