change domain with global variable

This commit is contained in:
goeranh 2025-05-23 16:50:22 +02:00
parent 901fe06ea2
commit bf20467381
No known key found for this signature in database
2 changed files with 11 additions and 10 deletions

View file

@ -15,12 +15,12 @@
environmentFile = "/var/lib/authentik_secret";
settings = {
email = {
host = "mail.stura.htw-dresden.de";
host = "mail.${config.networking.domain}";
port = 25;
username = "authentik@stura.htw-dresden.de";
username = "authentik@${config.networking.domain}";
use_tls = false;
use_ssl = false;
from = "authentik@stura.htw-dresden.de";
from = "authentik@${config.networking.domain}";
};
disable_startup_analytics = true;
avatars = "initials";
@ -29,7 +29,7 @@
nginx = {
enable = true;
enableACME = true;
host = "auth.htw.stura-dresden.de";
host = "auth.${config.networking.domain}";
};
};
}