about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJan Malakhovski <oxij@oxij.org>2019-02-03 20:10:13 +0000
committerJan Malakhovski <oxij@oxij.org>2019-02-03 20:10:13 +0000
commitcefbe6910520b2525df28a1dcc6b3ef1a845708f (patch)
tree52aeed9722afbfdd4e6b68121b1370c964c5218c /nixos
parent234ba7446c76141b9a81464a2e03dcf6ce6da0f1 (diff)
nixos: rippled: fix type
The old state is clearly a bug.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/misc/rippled.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/rippled.nix b/nixos/modules/services/misc/rippled.nix
index 04df376dc51fd..cdf61730de33a 100644
--- a/nixos/modules/services/misc/rippled.nix
+++ b/nixos/modules/services/misc/rippled.nix
@@ -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;
       };