From 560a0fa9abe10e0ad540e25433d42b3effcb16ae Mon Sep 17 00:00:00 2001 From: sils Date: Wed, 26 Jul 2023 10:31:04 +0200 Subject: Fix(system/impermanence): Add permissions --- system/impermanence/mods/etebase-server.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'system/impermanence/mods/etebase-server.nix') 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"; + } ]; } -- cgit 1.4.1