From 1213ca759c4bee2963fc7e533009ef8415076c5a Mon Sep 17 00:00:00 2001 From: Dmitriy Kholkin Date: Sun, 4 Feb 2024 16:45:06 +0300 Subject: [PATCH] change ocis directory --- profiles/servers/ocis.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/profiles/servers/ocis.nix b/profiles/servers/ocis.nix index aed5ea1..3093b88 100644 --- a/profiles/servers/ocis.nix +++ b/profiles/servers/ocis.nix @@ -9,8 +9,8 @@ services.ocis = { enable = true; - configDir = "/var/lib/ocis"; - baseDataPath = "/media/nas/ocis"; + configDir = "/var/lib/ocis/config"; + baseDataPath = "/var/lib/ocis/data"; environmentFile = config.sops.secrets.ocis-env-file.path; environment = { # Web settings @@ -39,6 +39,8 @@ }; }; + # persist.state.directories = [ "/var/lib/ocis" ]; + systemd.services.ocis-server.after = lib.mkIf config.services.authentik.enable [ "authentik-server.service"