aboutsummaryrefslogtreecommitdiff
path: root/shard
diff options
context:
space:
mode:
Diffstat (limited to 'shard')
-rw-r--r--shard/config/config.exs4
1 files changed, 4 insertions, 0 deletions
diff --git a/shard/config/config.exs b/shard/config/config.exs
index f970078..5a08e12 100644
--- a/shard/config/config.exs
+++ b/shard/config/config.exs
@@ -32,6 +32,10 @@ use Mix.Config
# it is not recommended to use long suffixes.
config :shard, peer_id_suffix: "S"
+# Data directory
+# ==============
+config :shard, data_directory: Path.join [System.user_home, "shard", "data"]
+
# It is also possible to import configuration files, relative to this
# directory. For example, you can emulate configuration per environment