diff options
| author | Max Audron <audron@cocaine.farm> | 2024-03-02 14:15:49 +0100 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2024-03-02 14:15:49 +0100 |
| commit | 1233a14611813fa2d68d63ebab571ccbd68b9c88 (patch) | |
| tree | 3bfb12bccbf74b3eabf383b2f9b818c38fcf873a /modules/authentik/default.nix | |
| parent | setup gitea oidc (diff) | |
update authentik
Diffstat (limited to '')
| -rw-r--r-- | modules/authentik/default.nix | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/modules/authentik/default.nix b/modules/authentik/default.nix index 600efb3..7898e0f 100644 --- a/modules/authentik/default.nix +++ b/modules/authentik/default.nix @@ -2,7 +2,7 @@ with self.lib.nginx; -let version = "2023.10.7"; +let version = "2024.2.1"; in { virtualisation.oci-containers.backend = "podman"; @@ -43,7 +43,7 @@ in image = "ghcr.io/goauthentik/ldap:${version}"; environmentFiles = [ "/etc/secrets/authentik/ldap.env" ]; autoStart = true; - extraOptions = ["-m=1000m"]; + extraOptions = [ "-m=1000m" ]; ports = [ "389:3389" "636:6636" @@ -97,12 +97,10 @@ in services.postgresql = { ensureDatabases = [ "authentik" ]; - ensureUsers = [ - { - name = "authentik"; - ensurePermissions = { "DATABASE authentik" = "ALL PRIVILEGES"; }; - } - ]; + ensureUsers = [{ + name = "authentik"; + ensureDBOwnership = true; + }]; }; secrets = { |
