From 3bd771709bde588d68cfb94a8fca61efac8651fa Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Fri, 18 Jul 2025 16:52:52 +0000 Subject: [PATCH] Create required volume mount locations --- modules/system/authentik.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/system/authentik.nix b/modules/system/authentik.nix index 901f7cc..6444815 100644 --- a/modules/system/authentik.nix +++ b/modules/system/authentik.nix @@ -22,6 +22,11 @@ with lib; -p 127.0.0.1:10000:9000 ''; }; + systemd.tmpfiles.rules = [ + "d /opt/authentik/certs 0755 authentik authentik" + "d /opt/authentik/media 0755 authentik authentik" + "d /opt/authentik/templates 0755 authentik authentik" + ]; users.groups.authentik = {}; users.users.authentik = { group = "authentik";