From a787f311e47f409db4ecb51f919320b988658727 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') 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