3
0
Fork 0
forked from mirrors/nixpkgs

rippled: added comment on commented out config options

This commit is contained in:
Emery Hemingway 2014-03-31 22:59:01 -04:00
parent 6c77690b28
commit def448f127

View file

@ -18,18 +18,6 @@ let
/var/log/rippled/debug.log
''
/*
+ optionalString (cfg.ips != null) ''
[ips]
${concatStringsSep "\n" cfg.ips}
''
+ optionalString (cfg.ipsFixed != null) ''
[ips_fixed]
${concatStringsSep "\n" cfg.ipsFixed}
''
*/
+ optionalString (cfg.peerIp != null) ''
[peer_ip]
${cfg.peerIp}
@ -57,6 +45,16 @@ in
description = "Whether to enable rippled";
};
#
# Rippled has a simple configuration file layout that is easy to
# build with nix. Many of the options are defined here but are
# commented out until the code to append them to the config above
# is written and they are tested.
#
# If you find a yourself implementing more options, please submit a
# pull request.
#
/*
ips = mkOption {
default = [ "r.ripple.com 51235" ];
@ -286,16 +284,6 @@ in
config = mkIf cfg.enable {
environment = {
etc = singleton
{ source = rippledStateCfgFile;
target = "rippled";
};
# users can attempt to send RPC commands to the server.
systemPackages = [ pkgs.rippled ];
};
users.extraUsers = singleton
{ name = "rippled";
description = "Ripple server user";