fix update script fqdn

This commit is contained in:
goeranh 2025-11-07 18:04:54 +01:00
parent 6f94a03a3c
commit 0f2922dffd
No known key found for this signature in database
5 changed files with 24 additions and 33 deletions

View file

@ -42,6 +42,13 @@
};
};
systemd.services.authentik-secrets-generator = {
enable = true;
requiredBy = [ "authentik-secrets-setup.service" "authentik-worker.service" ];
script = ''
echo "AUTHENTIK_SECRET_KEY=$(${pkgs.openssl}/bin/openssl rand -hex 32)" > /var/lib/authentik_secret
'';
};
services.nginx = {
enable = true;