diff options
author | sils <sils@sils.li> | 2023-07-26 10:31:04 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-11-18 19:32:43 +0100 |
commit | 560a0fa9abe10e0ad540e25433d42b3effcb16ae (patch) | |
tree | b1e5d4295fb0c5f8818c42f77507e0b681cd7c7b /system/impermanence/mods/etebase-server.nix | |
parent | Fix(system/services/etebase-server): Use nginx (diff) | |
download | nixos-server-560a0fa9abe10e0ad540e25433d42b3effcb16ae.tar.gz nixos-server-560a0fa9abe10e0ad540e25433d42b3effcb16ae.zip |
Fix(system/impermanence): Add permissions
Diffstat (limited to 'system/impermanence/mods/etebase-server.nix')
-rw-r--r-- | system/impermanence/mods/etebase-server.nix | 7 |
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"; + } ]; } |