feat!(services/self_host): now SSO is running under the authentik user

This commit is contained in:
Raphael 2025-10-31 14:26:32 +01:00
parent 246163fde9
commit 2a36f5c9c1
No known key found for this signature in database

View file

@ -12,6 +12,15 @@ let
in in
{ {
config = lib.mkIf cfg { config = lib.mkIf cfg {
users = {
users.authentik = {
isSystemUser = true;
description = "Authentik service user";
group = "authentik";
home = "/var/lib/authentik";
};
groups.authentik = {};
};
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"d /run/authentik 0750 authentik authentik - -" "d /run/authentik 0750 authentik authentik - -"
]; ];