Update modules/server/containers/apps/authentik.nix

This commit is contained in:
2026-06-03 17:14:30 +02:00
parent a2043cafe1
commit 7b8eeb917f

View File

@@ -19,12 +19,9 @@ in {
sops = true; sops = true;
db = true; db = true;
paths = [{ paths = [{
path="${serverCfg.configPath}/authentik/media"; path="${serverCfg.path.config}/authentik";
owner = "1000:1000";
mode = "0755";
}{
path="${serverCfg.configPath}/authentik/templates";
owner = "1000:1000"; owner = "1000:1000";
dirs = ["media" "templates"];
mode = "0755"; mode = "0755";
}]; }];
@@ -55,8 +52,8 @@ in {
cmd = [ "server" ]; cmd = [ "server" ];
volumes = [ volumes = [
"${serverCfg.configPath}/authentik/media:/media" "${serverCfg.path.config}/authentik/media:/media"
"${serverCfg.configPath}/authentik/templates:/templates" "${serverCfg.path.config}/authentik/templates:/templates"
"${authentikData}:/blueprints/custom:ro" "${authentikData}:/blueprints/custom:ro"
]; ];
}; };
@@ -77,8 +74,8 @@ in {
overrides = { overrides = {
cmd = [ "worker" ]; cmd = [ "worker" ];
volumes = [ volumes = [
"${serverCfg.configPath}/authentik/media:/media" "${serverCfg.path.config}/authentik/media:/media"
"${serverCfg.configPath}/authentik/templates:/templates" "${serverCfg.path.config}/authentik/templates:/templates"
"${authentikData}:/blueprints/custom:ro" "${authentikData}:/blueprints/custom:ro"
]; ];
}; };