summary refs log tree commit diff stats
path: root/system/impermanence
diff options
context:
space:
mode:
Diffstat (limited to 'system/impermanence')
-rw-r--r--system/impermanence/default.nix1
-rw-r--r--system/impermanence/mods/etebase-server.nix5
2 files changed, 6 insertions, 0 deletions
diff --git a/system/impermanence/default.nix b/system/impermanence/default.nix
index 0595078..0d3bd82 100644
--- a/system/impermanence/default.nix
+++ b/system/impermanence/default.nix
@@ -2,6 +2,7 @@
   # TODO: Only activate them if their module is also active
   imports = [
     ./mods/acme.nix
+    ./mods/etebase-server.nix
     ./mods/keycloak.nix
     ./mods/mail.nix
     ./mods/matrix.nix
diff --git a/system/impermanence/mods/etebase-server.nix b/system/impermanence/mods/etebase-server.nix
new file mode 100644
index 0000000..b2b32db
--- /dev/null
+++ b/system/impermanence/mods/etebase-server.nix
@@ -0,0 +1,5 @@
+{...}: {
+  environment.persistence."/srv".directories = [
+    "/var/lib/etebase-server"
+  ];
+}