diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-04-13 19:10:53 +0200 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-04-13 19:10:53 +0200 |
commit | f3a1652b098bbe33e5ab8a827ff3778b3c2120b8 (patch) | |
tree | 243f5d1e82706ad3d727a26692bd1d53d9373776 /nixos/modules/services/databases/tigerbeetle.nix | |
parent | 561b7b74f8e5783f29bb589482b3ed60ce2c1318 (diff) | |
parent | c0c2f2903f310dd5efb86f02b4b5f824183f5173 (diff) |
Merge branch 'master' into staging-next
Diffstat (limited to 'nixos/modules/services/databases/tigerbeetle.nix')
-rw-r--r-- | nixos/modules/services/databases/tigerbeetle.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nixos/modules/services/databases/tigerbeetle.nix b/nixos/modules/services/databases/tigerbeetle.nix index b90a0703175f5..a9c7a24250a69 100644 --- a/nixos/modules/services/databases/tigerbeetle.nix +++ b/nixos/modules/services/databases/tigerbeetle.nix @@ -11,14 +11,14 @@ in options = { services.tigerbeetle = with lib; { - enable = mkEnableOption (mdDoc "TigerBeetle server"); + enable = mkEnableOption "TigerBeetle server"; package = mkPackageOption pkgs "tigerbeetle" { }; clusterId = mkOption { type = types.either types.ints.unsigned (types.strMatching "[0-9]+"); default = 0; - description = lib.mdDoc '' + description = '' The 128-bit cluster ID used to create the replica data file (if needed). Since Nix only supports integers up to 64 bits, you need to pass a string to this if the cluster ID can't fit in 64 bits. Otherwise, you can pass the cluster ID as either an integer or a string. @@ -28,7 +28,7 @@ in replicaIndex = mkOption { type = types.ints.unsigned; default = 0; - description = lib.mdDoc '' + description = '' The index (starting at 0) of the replica in the cluster. ''; }; @@ -36,7 +36,7 @@ in replicaCount = mkOption { type = types.ints.unsigned; default = 1; - description = lib.mdDoc '' + description = '' The number of replicas participating in replication of the cluster. ''; }; @@ -44,7 +44,7 @@ in cacheGridSize = mkOption { type = types.strMatching "[0-9]+(K|M|G)B"; default = "1GB"; - description = lib.mdDoc '' + description = '' The grid cache size. The grid cache acts like a page cache for TigerBeetle. It is recommended to set this as large as possible. @@ -54,7 +54,7 @@ in addresses = mkOption { type = types.listOf types.nonEmptyStr; default = [ "3001" ]; - description = lib.mdDoc '' + description = '' The addresses of all replicas in the cluster. This should be a list of IPv4/IPv6 addresses with port numbers. Either the address or port number (but not both) may be omitted, in which case a default of 127.0.0.1 or 3001 will be used. |