summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-07-26 10:15:51 +0200
committersils <sils@noreply.codeberg.org>2023-07-26 16:44:50 +0000
commitcca0598def159226a0c50f3b9a71484191016721 (patch)
tree70a3da6336bf7c1a269bff28e0832b27fdc267e3
parentFeat(system/services): Add etebase-server (diff)
downloadnixos-server-cca0598def159226a0c50f3b9a71484191016721.tar.gz
nixos-server-cca0598def159226a0c50f3b9a71484191016721.zip
Fix(system/impermanence): Add etebase-server
-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"
+  ];
+}