about summary refs log tree commit diff
path: root/nixos/modules/services/misc/ripple-data-api.nix
diff options
context:
space:
mode:
authorDaniel Nagy <danielnagy@posteo.de>2022-11-30 17:15:00 +0100
committerDaniel Nagy <danielnagy@posteo.de>2022-12-08 00:00:00 +0100
commitad866e565db95c40ce13bf456a60108f94a5295e (patch)
tree0d8f48caac06af9c10a4d6c6f412d3e24605770c /nixos/modules/services/misc/ripple-data-api.nix
parent5108c96e98d38658e3f8668b5a96461df3c03382 (diff)
treewide: switch to port type for nixos modules
Diffstat (limited to 'nixos/modules/services/misc/ripple-data-api.nix')
-rw-r--r--nixos/modules/services/misc/ripple-data-api.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/services/misc/ripple-data-api.nix b/nixos/modules/services/misc/ripple-data-api.nix
index 2663d734980fb..30623a3213389 100644
--- a/nixos/modules/services/misc/ripple-data-api.nix
+++ b/nixos/modules/services/misc/ripple-data-api.nix
@@ -40,7 +40,7 @@ in {
       port = mkOption {
         description = lib.mdDoc "Ripple data api port";
         default = 5993;
-        type = types.int;
+        type = types.port;
       };
 
       importMode = mkOption {
@@ -77,7 +77,7 @@ in {
         port = mkOption {
           description = lib.mdDoc "Ripple data api redis port.";
           default = 5984;
-          type = types.int;
+          type = types.port;
         };
       };
 
@@ -91,7 +91,7 @@ in {
         port = mkOption {
           description = lib.mdDoc "Ripple data api couchdb port.";
           default = 5984;
-          type = types.int;
+          type = types.port;
         };
 
         db = mkOption {