diff options
Diffstat (limited to '')
-rw-r--r-- | system/impermanence/default.nix | 2 | ||||
-rw-r--r-- | system/impermanence/mods/etebase-server.nix | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/system/impermanence/default.nix b/system/impermanence/default.nix index f42c084..3c923d8 100644 --- a/system/impermanence/default.nix +++ b/system/impermanence/default.nix @@ -2,6 +2,8 @@ # TODO: Only activate them if their module is also active imports = [ ./mods/acme.nix + ./mods/etebase-server.nix + ./mods/fail2ban.nix ./mods/mail.nix ./mods/mastodon.nix ./mods/matrix.nix diff --git a/system/impermanence/mods/etebase-server.nix b/system/impermanence/mods/etebase-server.nix new file mode 100644 index 0000000..cfe5a39 --- /dev/null +++ b/system/impermanence/mods/etebase-server.nix @@ -0,0 +1,10 @@ +{...}: { + environment.persistence."/srv".directories = [ + { + directory = "/var/lib/etebase-server"; + user = "etebase-server"; + group = "etebase-server"; + mode = "0700"; + } + ]; +} |