diff options
author | sils <sils@sils.li> | 2023-07-26 10:31:04 +0200 |
---|---|---|
committer | sils <sils@noreply.codeberg.org> | 2023-07-26 16:44:50 +0000 |
commit | a787f311e47f409db4ecb51f919320b988658727 (patch) | |
tree | dfb87112fd748bdea59e8fb1d98bceb0fc3843a5 | |
parent | Fix(system/services/etebase-server): Use nginx (diff) | |
download | nixos-server-a787f311e47f409db4ecb51f919320b988658727.tar.gz nixos-server-a787f311e47f409db4ecb51f919320b988658727.zip |
Fix(system/impermanence): Add permissions
-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"; + } ]; } |