summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-07-26 10:15:51 +0200
committerSoispha <soispha@vhack.eu>2023-11-18 19:32:36 +0100
commitb43cef9cbb8d9488861a9e06657e192d81e32327 (patch)
treee5ed15da291748f30fc10b8f4e2ee23dc609c886
parentFeat(system/services): Add etebase-server (diff)
downloadnixos-server-b43cef9cbb8d9488861a9e06657e192d81e32327.tar.gz
nixos-server-b43cef9cbb8d9488861a9e06657e192d81e32327.zip
Fix(system/impermanence): Add etebase-server
Diffstat (limited to '')
-rw-r--r--system/impermanence/default.nix2
-rw-r--r--system/impermanence/mods/etebase-server.nix5
2 files changed, 7 insertions, 0 deletions
diff --git a/system/impermanence/default.nix b/system/impermanence/default.nix
index f42c084..c4ff796 100644
--- a/system/impermanence/default.nix
+++ b/system/impermanence/default.nix
@@ -2,6 +2,8 @@
   # 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/mastodon.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"
+  ];
+}