anchor.diff:  	'';
         };
   
  -    };
  -
  +      config = mkOption {
  +	internal = true;
  +	default = pkgs.writeText "rippled.conf" rippledCfg;
  +      };
  +    };
     };
   
   
  
positive.code: # configuration building is commented out until better tested.
  
  { config, lib, pkgs, ... }:
  
  with lib;
  
negative.code:       { name = "rippled";
          description = "Ripple server user";
          uid = config.ids.uids.rippled;
  	home = cfg.databasePath;
  	createHome = true;
        };
  
      systemd.services.rippled = {
        after = [ "network.target" ];
        wantedBy = [ "multi-user.target" ];
  
        serviceConfig = {
          ExecStart = "${cfg.package}/bin/rippled --fg --conf ${cfg.config}";
          User = "rippled";
        };
      };
  
      environment.systemPackages = [ cfg.package ];
  
    };
  }
  