summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/databases/foundationdb.md
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/databases/foundationdb.md')
-rw-r--r--nixos/modules/services/databases/foundationdb.md14
1 files changed, 10 insertions, 4 deletions
diff --git a/nixos/modules/services/databases/foundationdb.md b/nixos/modules/services/databases/foundationdb.md
index af17c9f95999..9f7addc9c140 100644
--- a/nixos/modules/services/databases/foundationdb.md
+++ b/nixos/modules/services/databases/foundationdb.md
@@ -16,8 +16,10 @@ key-value store.
To enable FoundationDB, add the following to your
{file}`configuration.nix`:
```nix
-services.foundationdb.enable = true;
-services.foundationdb.package = pkgs.foundationdb71; # FoundationDB 7.1.x
+{
+ services.foundationdb.enable = true;
+ services.foundationdb.package = pkgs.foundationdb71; # FoundationDB 7.1.x
+}
```
The {option}`services.foundationdb.package` option is required, and
@@ -110,7 +112,9 @@ FoundationDB stores all data for all server processes under
{file}`/var/lib/foundationdb`. You can override this using
{option}`services.foundationdb.dataDir`, e.g.
```nix
-services.foundationdb.dataDir = "/data/fdb";
+{
+ services.foundationdb.dataDir = "/data/fdb";
+}
```
Similarly, logs are stored under {file}`/var/log/foundationdb`
@@ -266,7 +270,9 @@ For example, to create backups in {command}`/opt/fdb-backups`, first
set up the paths in the module options:
```nix
-services.foundationdb.extraReadWritePaths = [ "/opt/fdb-backups" ];
+{
+ services.foundationdb.extraReadWritePaths = [ "/opt/fdb-backups" ];
+}
```
Restart the FoundationDB service, and it will now be able to write to this