fix update script fqdn
This commit is contained in:
parent
6f94a03a3c
commit
0f2922dffd
5 changed files with 24 additions and 33 deletions
|
|
@ -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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue