summary refs log tree commit diff stats
path: root/system/impermanence/mods/etebase-server.nix
diff options
context:
space:
mode:
Diffstat (limited to 'system/impermanence/mods/etebase-server.nix')
-rw-r--r--system/impermanence/mods/etebase-server.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/system/impermanence/mods/etebase-server.nix b/system/impermanence/mods/etebase-server.nix
index b2b32db..cfe5a39 100644
--- a/system/impermanence/mods/etebase-server.nix
+++ b/system/impermanence/mods/etebase-server.nix
@@ -1,5 +1,10 @@
 {...}: {
   environment.persistence."/srv".directories = [
-    "/var/lib/etebase-server"
+    {
+      directory = "/var/lib/etebase-server";
+      user = "etebase-server";
+      group = "etebase-server";
+      mode = "0700";
+    }
   ];
 }