nixos: rippled: fix type

The old state is clearly a bug.
This commit is contained in:
Jan Malakhovski 2019-02-03 20:10:13 +00:00
parent 234ba7446c
commit cefbe69105

View file

@ -175,7 +175,7 @@ let
onlineDelete = mkOption {
description = "Enable automatic purging of older ledger information.";
type = types.addCheck (types.nullOr types.int) (v: v > 256);
type = types.nullOr (types.addCheck types.int (v: v > 256));
default = cfg.ledgerHistory;
};