remove users.ldap config

This commit is contained in:
halcyon 2022-12-17 19:03:02 +01:00
parent eece008de6
commit 2f8d5b8949
No known key found for this signature in database
GPG key ID: 7C1F2DA2BC929412

View file

@ -1,9 +1,9 @@
{ config, ... }:
let
# temporary url, zum testen auf laptop zuhause
tld = "moe";
hostname = "eisvogel";
domain = "portunus.${hostname}.${tld}";
tld = "de";
hostname = "ifsr";
domain = "auth.staging.${hostname}.${tld}";
portunusUser = "portunus";
portunusGroup = "portunus";
@ -53,13 +53,6 @@ in
seedPath = "../config/portunus_seeds.json";
};
users.ldap = {
enable = true;
server = "ldaps://${domain}";
base = "dc=${hostname},dc=${tld}";
# useTLS = true; # nicht nötig weil ldaps domain festgelegt. würde sonst starttls auf port 389 versuchen
};
services.nginx = {
enable = true;
virtualHosts."${config.services.portunus.domain}" = {