merge auth SP module into main configuration; add enableSso
option
`enableSso` is being added to the following SP modules: * gitea (forgejo) * nextcloud * roundcube * simple-nixos-mailserver
This commit is contained in:
@@ -11,8 +11,8 @@ let
|
||||
|
||||
hostName = "${cfg.subdomain}.${sp.domain}";
|
||||
auth-passthru = config.passthru.selfprivacy.auth;
|
||||
is-auth-enabled = sp.modules.auth.enable or false;
|
||||
cfg = sp.modules.nextcloud;
|
||||
is-auth-enabled = cfg.enableSso;
|
||||
ldap_scheme_and_host = "ldaps://${auth-passthru.ldap-host}";
|
||||
|
||||
occ = "${config.services.nextcloud.occ}/bin/nextcloud-occ";
|
||||
|
Reference in New Issue
Block a user